![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Implementation of std::initializer_list for brace initialization.
More...
Public Types | |
| using | const_iterator = iterator |
| The type of the iterator. | |
| using | const_reference = reference |
| The type of a reference to the stored element. | |
| using | iterator = T const* |
| The type of the iterator. | |
| using | reference = T const& |
| The type of a reference to the stored element. | |
| using | size_type = size_t |
| The type of the size. | |
| using | value_type = T |
| The type of each element. | |
Public Member Functions | |
| constexpr | initializer_list () noexcept |
| Construct an empty list. | |
| constexpr auto | begin () const noexcept -> iterator |
| Get a pointer to the first element. | |
| constexpr auto | end () const noexcept -> iterator |
| Get a pointer to one-past-the-last element. | |
| constexpr auto | size () const noexcept -> size_type |
| Get the number of elements in the list. | |
Implementation of std::initializer_list for brace initialization.
| T | The type of the elements |
| using std::initializer_list< T >::const_iterator = iterator |
The type of the iterator.
| using std::initializer_list< T >::const_reference = reference |
The type of a reference to the stored element.
| using std::initializer_list< T >::iterator = T const* |
The type of the iterator.
| using std::initializer_list< T >::reference = T const& |
The type of a reference to the stored element.
| using std::initializer_list< T >::size_type = size_t |
The type of the size.
| using std::initializer_list< T >::value_type = T |
The type of each element.
|
inlineconstexprnoexcept |
Construct an empty list.
|
inlineconstexprnoexcept |
Get a pointer to the first element.
|
inlineconstexprnoexcept |
Get a pointer to one-past-the-last element.
|
inlineconstexprnoexcept |
Get the number of elements in the list.