class
#include <bn_list.h>
iterator Non const iterator.
Public types
-
using value_type = ilist::
value_type - Value type alias.
-
using size_type = ilist::
size_type - Size type alias.
-
using difference_type = ilist::
difference_type - Difference type alias.
-
using reference = ilist::
reference - Reference alias.
-
using pointer = ilist::
pointer - Pointer alias.
- using iterator_category = bidirectional_iterator_tag
- Iterator category alias.
Constructors, destructors, conversion operators
- iterator() defaulted
- Default constructor.
Public functions
- auto operator++() -> iterator&
- Increments the position.
- auto operator++(int) -> iterator
- Increments the position.
- auto operator--() -> iterator&
- Decrements the position.
- auto operator--(int) -> iterator
- Decrements the position.
- auto operator*() const -> reference
- Returns a reference to the pointed value.
- auto operator->() const -> pointer
- Returns a pointer to the pointed value.
Friends
- auto operator==(const iterator& a, const iterator& b) -> bool defaulted
- Default equal operator.
Function documentation
iterator bn:: ilist:: iterator:: operator++(int)
Increments the position.
Returns | The iterator before being incremented. |
---|
iterator bn:: ilist:: iterator:: operator--(int)
Decrements the position.
Returns | The iterator before being decremented. |
---|