Namespaces
Variants
Views
Actions

std::mask_array

From cppreference.com
 
 
 
 
 
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).

[edit] Member types

Type Definition
value_type T

[edit] 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]

[edit] Example