Namespaces
Variants
Views
Actions

std::slice_array

From cppreference.com
< cpp‎ | numeric‎ | valarray
Revision as of 20:12, 5 June 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
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.

Contents

[edit] Member types

Type Definition
value_type T

[edit] Member functions

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

[edit] Example

[edit] See also

proxy to a subset of a valarray after applying a gslice
(class template) [edit]