|
swift
|
Iterator classes for the containers. More...
Classes | |
| class | OutputIterator |
| Configurable output iterator using a provided functor to do the insertion. More... | |
| class | TransformIterator |
| Iterator wrapper which applies some transformation function to each element. More... | |
| class | ConditionalIterator |
| Iterator wrapper which skips over any elements which do not satisfy a given condition predicate. More... | |
| class | ConcatIterator |
| Iterator wrapper which concatenates zero or more pairs of begin and end iterators. More... | |
Functions | |
| template<class F > | |
| auto | makeOutputIterator (F &&func) |
| Return an output iterator of type deduced from the argument. | |
| template<class T > | |
| auto | makeInsertIterator (T &container) |
| Return an insert iterator appropriate to the container type (uses push_back or insert). | |
| template<class I , class F > | |
| auto | makeTransformIterator (I iterator, F function) -> TransformIterator< I, F > |
| Construct a TransformIterator of the appropriate type from deduced template function arguments. | |
| template<class I , class F > | |
| auto | makeConditionalIterator (I iterator, I end, F predicate) -> ConditionalIterator< I, F > |
| Construct a ConditionalIterator of the appropriate type from deduced template function arguments. | |
| template<class I > | |
| auto | makeConcatIterator (QVector< I > iterators) -> ConcatIterator< I > |
| Construct a ConcatIterator of the appropriate type from deduced template function arguments. | |
Iterator classes for the containers.