Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::ranges::dangling Class Reference

A type that can be used to indicate that a range is dangling, i.e. that it is not safe to use the range's iterators or references after the range has been destroyed. More...

Public Member Functions

constexpr dangling () noexcept=default
 Default constructor.
 
template<typename... Args>
constexpr dangling (Args &&...) noexcept
 Implicitly constructible from any argument list.
 
constexpr dangling (dangling &&) noexcept=default
 Move constructor.
 
constexpr dangling (dangling const &) noexcept=default
 Copy constructor.
 
 ~dangling () noexcept=default
 Destructor.
 
constexpr auto operator= (dangling &&) noexcept -> dangling &=default
 Move assignment operator.
 
constexpr auto operator= (dangling const &) noexcept -> dangling &=default
 Copy assignment operator.
 

Detailed Description

A type that can be used to indicate that a range is dangling, i.e. that it is not safe to use the range's iterators or references after the range has been destroyed.

Constructor & Destructor Documentation

◆ dangling() [1/4]

arene::base::ranges::dangling::dangling ( )
constexprdefaultnoexcept

Default constructor.

◆ dangling() [2/4]

template<typename... Args>
arene::base::ranges::dangling::dangling ( Args && ...)
inlineconstexprnoexcept

Implicitly constructible from any argument list.

Template Parameters
Argsthe types of the arguments to swallow

◆ dangling() [3/4]

arene::base::ranges::dangling::dangling ( dangling const & )
constexprdefaultnoexcept

Copy constructor.

◆ dangling() [4/4]

arene::base::ranges::dangling::dangling ( dangling && )
constexprdefaultnoexcept

Move constructor.

◆ ~dangling()

arene::base::ranges::dangling::~dangling ( )
defaultnoexcept

Destructor.

Member Function Documentation

◆ operator=() [1/2]

auto arene::base::ranges::dangling::operator= ( dangling && ) -> dangling &=default
constexprdefaultnoexcept

Move assignment operator.

◆ operator=() [2/2]

auto arene::base::ranges::dangling::operator= ( dangling const & ) -> dangling &=default
constexprdefaultnoexcept

Copy assignment operator.


The documentation for this class was generated from the following file: