SysTutorials

Linux Manual Pages › Section 3

stdgslice_array(3)

std::gslice_array - std::gslice_array

Synopsis

Defined in header <valarray>
template< class T > class gslice_array;

std::gslice_array is a helper template used by std::gslice subscript operator. It has reference semantics to a subset of the array specified by the std::gslice object.

Member types

Type Definition value_type T

Member functions

              constructs a gslice_array constructor (public member function)               destroys a gslice_array destructor (public member function)               assigns contents operator= (public member function)

operator+= operator-= operator*= operator/= performs arithmetic operation on the array referred by generic slice. operator%= (public member function) operator&= operator|= operator^= operator<<= operator>>=

Example

 This section is incomplete  Reason: no example

See also

            proxy to a subset of a valarray after applying a slice slice_array (class template)