Namespaces
Variants
Views
Actions

std::indirect_array

From cppreference.com
 
 
 
 
 
Defined in header <valarray>
template< class T > class indirect_array;

std::gslice_array is a helper template used by std::indirect_array subscript operator. It has reference semantics to a subset of the array specified by an indirect array (std::valarray<std::size_t> object).

[edit] Member types

Type Definition
value_type T

[edit] Member functions

constructs a indirect_array
(public member function) [edit]
destroys a indirect_array
(public member function) [edit]
assigns contents
(public member function) [edit]
performs arithmetic operation on the array referred by indirect array.
(public member function) [edit]

[edit] Example