std::gslice_array

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
(public member function)
destroys a gslice_array
(public member function)
assigns contents
(public member function)
performs arithmetic operation on the array referred by generic slice.
(public member function)

Example

See also

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/valarray/gslice_array