Inheritance diagram for indirect_term:
For internal use only.
This branch term indirects the subterm. An indirect expression is not const chunkable.
Term | The subterm type. | |
InTerm | The indirect subterm type. Element type should be std::size_t. | |
Enable | If void, enables a particular template specialization. |
Public Types | |
typedef indirect_iterator< typename Term::const_iterator, typename InTerm::const_iterator > | const_iterator |
Iterator to access elements. | |
typedef indirect_iterator< typename Term::iterator, typename InTerm::const_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. | |
indirect_term & | operator= (const value_type &x) |
Assigns x to each element. | |
template<typename Expr> | |
indirect_term & | operator= (const term< typename Term::value_type, Expr > &other) |
Assigns the other term. | |
indirect_term & | operator= (const indirect_term &other) |
Assigns the other indirect 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. |