Inheritance diagram for slice_term_base:
For internal use only.
This base defines all common types and functions for both chunked and unchunked slice terms.
Term | The subterm type. |
Public Types | |
typedef slice_iterator< typename Term::const_iterator > | const_iterator |
Iterator to access elements. | |
typedef slice_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. | |
reference | operator[] (std::size_t index) |
Gets the element at index n. | |
value_type | operator[] (std::size_t index) const |
Gets the element at index n. | |
std::size_t | size () const |
Gets the number of elements. |