A thin wrapper around std::array
with some extra bells and whistles.
More...
#include <array.h>
Public Member Functions | |
MemoryUsage::MemorySize | allocSize () const |
MemorySize support. More... | |
Array (std::array< T, Sz > const &other) | |
Copy ctor from an array. More... | |
Array (std::initializer_list< T > list) | |
Ctor from an initializer list. More... | |
ConstSpan< T > | cs () const |
Creates a ConstSpan over this array. More... | |
MutSpan< T > | ms () |
Creates a MutSpan over this array. More... | |
T & | operator() (long long int v) |
Access the element at position restrict(v, this->size()) , allowing for wrap-arounds and negative indices. More... | |
T const & | operator() (long long int v) const |
Access the element at position restrict(v, this->size()) , allowing for wrap-arounds and negative indices. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Boost serialisation. More... | |
Public Member Functions inherited from std::array< T, Sz > | |
T | at (T... args) |
T | back (T... args) |
T | begin (T... args) |
T | cbegin (T... args) |
T | cend (T... args) |
T | crbegin (T... args) |
T | crend (T... args) |
T | data (T... args) |
T | empty (T... args) |
T | end (T... args) |
T | fill (T... args) |
T | front (T... args) |
T | max_size (T... args) |
T | operator[] (T... args) |
T | rbegin (T... args) |
T | rend (T... args) |
T | size (T... args) |
T | swap (T... args) |
Additional Inherited Members | |
Public Attributes inherited from std::array< T, Sz > | |
T | elements |
STL member. More... | |
A thin wrapper around std::array
with some extra bells and whistles.
T | the contained type |
Sz | number of T s that fit |