Defines the operations to access elements using multiple dimensions via operator(). More...
Public Member Functions | |
domain_t::size_type | dimensions () const |
reference_t | operator[] (index_t const &index) const |
Access an element of a multidimensional container using a tuple of indices. | |
template<typename ... Indices> | |
reference_t | operator() (Indices... indices) const |
Alternative to operator[] that allows accessing an element of a multidimensional container using its indices directly, without the need to form a tuple of them first. | |
reference_t | make_reference (index_t const &index) const |
template<typename Index0 , typename Index1 , typename ... Indices> | |
reference_t | make_reference (Index0 index0, Index1 index1, Indices... indices) const |
Public Types | |
typedef dimension_traits< container_t >::type | dimension_type |
Defines the operations to access elements using multiple dimensions via operator().