const_iterator class
          #include <bn_unordered_set.h>
        
        Const iterator.
In contrast to std::unordered_set::const_iterator, this one is bidirectional.
Public types
- 
              using key_type = iunordered_set::key_type 
- Key type alias.
- 
              using value_type = iunordered_set::value_type 
- Value type alias.
- 
              using size_type = iunordered_set::size_type 
- Size type alias.
- 
              using difference_type = iunordered_set::difference_type 
- Difference type alias.
- 
              using hash_type = iunordered_set::hash_type 
- Hash type alias.
- 
              using hasher = iunordered_set::hasher 
- Hash functor alias.
- 
              using key_equal = iunordered_set::key_equal 
- Equality functor alias.
- 
              using reference = iunordered_set::const_reference 
- Reference alias.
- 
              using pointer = iunordered_set::const_pointer 
- Pointer alias.
- using iterator_category = bidirectional_iterator_tag
- Iterator category alias.
Constructors, destructors, conversion operators
- const_iterator() defaulted
- Default constructor.
- const_iterator(const iterator& it)
- Constructor.
Public functions
- 
              auto operator++() -> const_iterator& 
- Increments the position.
- 
              auto operator++(int) -> const_iterator 
- Increments the position.
- 
              auto operator--() -> const_iterator& 
- Decrements the position.
- 
              auto operator--(int) -> const_iterator 
- Decrements the position.
- 
              auto operator*() const -> const_reference 
- Returns a const reference to the pointed value.
- 
              auto operator->() const -> const_pointer 
- Returns a const pointer to the pointed value.
Friends
- 
              auto operator==(const const_iterator& a, const const_ iterator& b) -> bool 
- Equal operator.
- 
              auto operator!=(const const_iterator& a, const const_ iterator& b) -> bool 
- Not equal operator.
Function documentation
               bn::
            Constructor.
| Parameters | |
|---|---|
| it | Non const iterator. | 
              const_
            Increments the position.
| Returns | Reference to this. | 
|---|
              const_
            Increments the position.
| Returns | The iterator before being incremented. | 
|---|
              const_
            Decrements the position.
| Returns | Reference to this. | 
|---|
              const_
            Decrements the position.
| Returns | The iterator before being decremented. | 
|---|
              bool operator==(const const_
            Equal operator.
| Parameters | |
|---|---|
| a | First const_ | 
| b | Second const_ | 
| Returns | trueif the first const_false. | 
              bool operator!=(const const_
            Not equal operator.
| Parameters | |
|---|---|
| a | First const_ | 
| b | Second const_ | 
| Returns | trueif the first const_false. |