STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::view_operations::multi_dimensional_subscript< Derived > Class Template Reference

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
 

Detailed Description

template<typename Derived>
class stapl::view_operations::multi_dimensional_subscript< Derived >

Defines the operations to access elements using multiple dimensions via operator().


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