Read-only forward cursor. More...
#include <StormByte/safe/unordered_set.hxx>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Iterator category. | |
| using | iterator_concept = std::forward_iterator_tag |
| C++20 iterator concept. | |
| using | value_type = K |
| Stored value. | |
| using | difference_type = std::ptrdiff_t |
| Iterator distance type. | |
| using | pointer = const K* |
| Pointer to the value. | |
| using | reference = const K& |
| Reference to the value. | |
| using | StormByteSafeCursor = void |
| Base cursor mark. Copying the cursor copies one node pointer. | |
Public Member Functions | |
| const_iterator () noexcept=default | |
| Construct a singular iterator. | |
| const_iterator (iterator other) noexcept | |
| Construct from a mutable iterator. | |
| reference | operator* () const |
| Return the value. | |
| pointer | operator-> () const |
| Return a pointer to the value. | |
| const_iterator & | operator++ () |
| Advance to the next occupied node. | |
| const_iterator | operator++ (int) |
| Advance to the next occupied node. | |
| bool | operator== (const const_iterator &other) const noexcept |
| Compare node identity. | |
Friends | |
| class | UnorderedSet |
Read-only forward cursor.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::difference_type = std::ptrdiff_t |
Iterator distance type.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::iterator_category = std::forward_iterator_tag |
Iterator category.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::iterator_concept = std::forward_iterator_tag |
C++20 iterator concept.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::pointer = const K* |
Pointer to the value.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::reference = const K& |
Reference to the value.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::StormByteSafeCursor = void |
Base cursor mark. Copying the cursor copies one node pointer.
| using StormByte::Safe::UnorderedSet< K, Hash, KeyEqual >::const_iterator::value_type = K |
Stored value.
|
defaultnoexcept |
Construct a singular iterator.
|
inlinenoexcept |
Construct from a mutable iterator.
| other | Mutable cursor. |
|
inline |
Return the value.
|
inline |
Advance to the next occupied node.
|
inline |
Advance to the next occupied node.
|
inline |
Return a pointer to the value.
|
inlinenoexcept |
Compare node identity.
| other | Iterator to compare. |
|
friend |