Namespaces
Variants
Views
Actions

std::mask_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 mask_array;

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

Member types

Type Definition
value_type T

Member functions

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

Example