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