Namespaces
Variants
Views
Actions

std::indirect_array

From cppreference.com
< cpp‎ | numeric‎ | valarray
Revision as of 19:11, 5 June 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
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).

Member types

Type Definition
value_type T

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]

Example