Inheritance diagram for gslice_term:
For internal use only.
This branch term selects a gslice out of the subterm. A gslice expression is not const chunkable.
Term | The subterm type. | |
Enable | If void, enables a particular template specialization. |
Public Types | |
typedef gslice_iterator< typename Term::const_iterator > | const_iterator |
Iterator to access elements. | |
typedef gslice_iterator< typename Term::iterator > | iterator |
Iterator to access or change elements. | |
Public Member Functions | |
iterator | begin () |
Gets an iterator to the first element. | |
const_iterator | begin () const |
Gets an iterator to the first element. | |
gslice_term & | operator= (const value_type &x) |
Assigns x to each element. | |
template<typename Expr> | |
gslice_term & | operator= (const term< value_type, Expr > &other) |
Assigns the other term. | |
gslice_term & | operator= (const gslice_term &other) |
Assigns the other gslice term. | |
reference | operator[] (std::size_t n) |
Gets the element at index n. | |
value_type | operator[] (std::size_t n) const |
Gets the element at index n. | |
std::size_t | size () const |
Gets the number of elements. |