Class extending the array class from the standard library. Original reason is to allow printing of the container with overloaded operator <<.
More...
|
| array ()=default |
|
| array (const array &other)=default |
|
| array (array &&other)=default |
|
array & | operator= (array &&other)=default |
|
array & | operator= (const array &other)=default |
|
template<class ... Types>
requires ( std::is_same < T, typename std::remove_reference < Types >::type >::value && ... ) |
| array (Types &&... args) |
|
auto | begin () & |
| Inherited behavior of begin for non-const instance. More...
|
|
auto | begin () const & |
| Inherited behavior of begin for const instance. More...
|
|
auto | begin () && |
| Inherited behavior of begin for rvalues. More...
|
|
auto | end () & |
| Inherited behavior of end for non-const instance. More...
|
|
auto | end () const & |
| Inherited behavior of end for const instance. More...
|
|
auto | end () && |
| Inherited behavior of end for rvalues. More...
|
|
auto | range () & |
| Make range of non-const begin to end iterators. More...
|
|
auto | range () const & |
| Make range of non-const begin to end iterators. More...
|
|
auto | range () && |
| Make range of move begin to end iterators. More...
|
|
template<class T, std::size_t N>
class ext::array< T, N >
Class extending the array class from the standard library. Original reason is to allow printing of the container with overloaded operator <<.
The class mimics the behavior of the array from the standatd library.
- Template Parameters
-
T | the type of values in the array |
N | the size of the array |