##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::gslice_array

From cppreference.com
< cpp‎ | numeric‎ | valarray

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.

### [edit] Member types

Type | Definition
`value_type` | `T`

### [edit] Member functions

(constructor) | constructs a `gslice_array` (public member function) [edit]
(destructor) | destroys a `gslice_array` (public member function) [edit]
operator= | assigns contents (public member function) [edit]
operator+=operator-=operator*=operator/=operator%=operator&=operator|=operator^=operator<<=operator>>= | performs arithmetic operation on the array referred by generic slice. (public member function) [edit]

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

slice_array | proxy to a subset of a valarray after applying a slice (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/valarray/gslice_array&oldid=61530"
Category:

- Todo no example