Forward iterator over a Map whose dereference yields the mapped value. More...
#include <meshkit/detail/storage.hpp>
Public Member Functions | |
| Iterator (It it) | |
| Wrap an underlying std::unordered_map iterator. | |
| decltype(auto) | value () const |
Mapped value at this position: V & for MutableIterator, const V & for ConstIterator. | |
| const K & | key () const |
| Key at this position; must not be called on an end iterator. | |
| decltype(auto) | operator* () const |
| Mapped value at this position, same as value(). | |
| auto | operator-> () const |
| Pointer to the mapped value (not to a key/value pair). | |
| Iterator & | operator++ () |
| Advance to the next entry. | |
| bool | operator== (const Iterator &b) const |
| Position equality. | |
| bool | operator!= (const Iterator &b) const |
| Position inequality. | |
Forward iterator over a Map whose dereference yields the mapped value.
Only prefix increment is provided.
| Const | True for read-only access (ConstIterator), false for MutableIterator. |
|
inlineexplicit |
Wrap an underlying std::unordered_map iterator.
| [in] | it | Position to wrap. |
|
inline |
Key at this position; must not be called on an end iterator.
|
inline |
Position inequality.
| [in] | b | Iterator into the same map. |
|
inline |
Mapped value at this position, same as value().
|
inline |
Advance to the next entry.
|
inline |
Pointer to the mapped value (not to a key/value pair).
|
inline |
Position equality.
| [in] | b | Iterator into the same map. |
|
inline |
Mapped value at this position: V & for MutableIterator, const V & for ConstIterator.
Must not be called on an end iterator.