#include <Corrade/Containers/Iterable.h>
template<class T>
IterableIterator class new in Git master
Iterable iterator.
Used by Iterable to provide iterator access to its items.
Public types
- using Type = T
- Element type.
Public functions
- auto operator==(const IterableIterator<T>& other) const -> bool
- Equality comparison.
- auto operator!=(const IterableIterator<T>& other) const -> bool
- Non-equality comparison.
- auto operator<(const IterableIterator<T>& other) const -> bool
- Less than comparison.
- auto operator<=(const IterableIterator<T>& other) const -> bool
- Less than or equal comparison.
- auto operator>(const IterableIterator<T>& other) const -> bool
- Greater than comparison.
- auto operator>=(const IterableIterator<T>& other) const -> bool
- Greater than or equal comparison.
-
auto operator+(std::
ptrdiff_t i) const -> IterableIterator<T> - Add an offset.
-
auto operator+=(std::
ptrdiff_t i) -> IterableIterator<T>& - Add an offset and assign.
-
auto operator-(std::
ptrdiff_t i) const -> IterableIterator<T> - Subtract an offset.
-
auto operator-=(std::
ptrdiff_t i) -> IterableIterator<T>& - Subtract an offset and assign.
-
auto operator-(const IterableIterator<T>& it) const -> std::
ptrdiff_t - Iterator difference.
- auto operator--() -> IterableIterator<T>&
- Go back to previous position.
- auto operator++() -> IterableIterator<T>&
- Advance to next position.
- auto operator*() const -> T&
- Dereference.
Function documentation
template<class T>
StringIterableIterator operator+(std:: ptrdiff_t i,
const StringIterableIterator& it)
Add strided iterator to an offset.