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

Basic linear storage class used by lightweight_multiarray_base to avoid initialization scan if desired. More...

Public Member Functions

 lightweight_multiarray_storage (size_t size)
 
reference operator[] (size_type n)
 
iterator begin (void) const
 
iterator end (void) const
 
const_iterator cbegin (void) const
 
const_iterator cend (void) const
 
size_type size (void) const
 
bool empty (void) const
 

Public Types

using value_type = T
 
using size_type = std::size_t
 
using iterator = value_type *
 
using const_iterator = value_type const *
 
using reference = typename std::add_lvalue_reference< value_type >::type
 
using const_reference = typename std::add_const< reference >::type
 

Detailed Description

template<typename T>
struct stapl::lightweight_multiarray_storage< T >

Basic linear storage class used by lightweight_multiarray_base to avoid initialization scan if desired.


The documentation for this struct was generated from the following files: