|
swift
|
Iterator wrapper which concatenates zero or more pairs of begin and end iterators. More...
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Types. | |
| using | value_type = typename std::iterator_traits< I >::value_type |
| Types. | |
| using | difference_type = typename std::iterator_traits< I >::difference_type |
| Types. | |
| using | pointer = typename std::iterator_traits< I >::pointer |
| Types. | |
| using | reference = typename std::iterator_traits< I >::reference |
| Types. | |
Public Member Functions | |
| ConcatIterator (QVector< I > iterators) | |
| Constructor. | |
| ConcatIterator (I end) | |
| Implicit conversion from an end iterator. | |
| I | operator-> () |
| Indirection operator, returns the underlying iterator. Undefined if iterator is at the end. | |
| std::iterator_traits< I >::reference | operator* () |
| Dereference operator, returns the object referenced by the iterator. Undefined if iterator is at the end. | |
| ConcatIterator & | operator++ () |
| Advance to the next element. Undefined if iterator is at the end. | |
| ConcatIterator | operator++ (int) |
| Advance to the next element. Undefined if iterator is at the end. | |
| bool | operator== (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator!= (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator< (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator<= (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator> (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator>= (const ConcatIterator &other) const |
| Comparison operators. | |
Iterator wrapper which concatenates zero or more pairs of begin and end iterators.
Definition at line 278 of file iterator.h.