SysTutorials

Linux Manual Pages › Section 3

stdslice_array(3)

std::slice_array - std::slice_array

Synopsis

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

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

Member types

Type Definition value_type T

Member functions

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

operator+= operator-= operator*= operator/= performs arithmetic operation on the array referred by 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 gslice gslice_array (class template)