Iterator adaptor that applies a transformation on each value before returning it.
More...
|
| | Transform_iterator ()=default |
| |
| | Transform_iterator (const Source_iterator_t &source_iterator) |
| |
| | Transform_iterator (Source_iterator_t &&source_iterator) |
| |
| decltype(auto) | get () const |
| |
| void | next () |
| |
| void | prev () |
| |
| void | advance (std::ptrdiff_t delta) |
| |
| bool | is_equal (const Transform_iterator &other) const |
| |
| std::ptrdiff_t | distance_from (const Transform_iterator &other) const |
| |
| decltype(auto) | operator* () const |
| | Dereference operator, which returns the current value. More...
|
| |
| auto | operator-> () const |
| | Arrow operator, return a pointer (possibly a fancy pointer) to the current element. More...
|
| |
| Self_t & | operator++ () |
| | Pre-increment operator, which advances the position one step and returns a reference to the iterator itself. More...
|
| |
| auto | operator++ (int) |
| | Post-increment operator, which advances the position one step. More...
|
| |
| Self_t & | operator-- () |
| | Pre-decrement iterator, which moves one step back and returns a reference to the iterator itself. More...
|
| |
| auto | operator-- (int) |
| | Post-decrement operator, which moves one step back and returns a copy of the iterator before the decrement. More...
|
| |
| Self_t & | operator+= (std::ptrdiff_t delta) |
| | Addition assignment operator, which moves the iterator forward by the given number of steps, and returns a reference to the iterator itself. More...
|
| |
| Self_t & | operator-= (std::ptrdiff_t delta) |
| | Subtraction assignment operator, which moves the iterator backward by the given number of steps, and returns a reference to the iterator itself. More...
|
| |
| Self_t | operator+ (std::ptrdiff_t delta) const |
| | Addition operator, which returns a new iterator that is the given number of steps ahead of the current iterator. More...
|
| |
| Self_t | operator- (std::ptrdiff_t delta) const |
| | Subtraction-of-integer operator, which returns a new iterator that is the given number of steps behind of the current iterator. More...
|
| |
| std::ptrdiff_t | operator- (const Self_t &other) const |
| | Subtraction-of-iterator operator, which returns the number of steps from other this. More...
|
| |
| decltype(auto) | operator[] (std::ptrdiff_t delta) const |
| | Subscript operator, which returns a new iterator that is the given number of steps ahead of the current iterator. More...
|
| |
template<class Transform_tp, std::input_iterator Source_iterator_tp>
class mysql::ranges::Transform_iterator< Transform_tp, Source_iterator_tp >
Iterator adaptor that applies a transformation on each value before returning it.
- Template Parameters
-
| Transform_tp | The transform. |
| Source_iterator_tp | The source iterator type. |