|
Bond 0.9
C++ Bond Runtime Library API Documentation
|
An iterator that visits the values of a const AutoStack from the top to the bottom. More...
#include <bond/stl/autostack.h>
Public Member Functions | |
| ConstIterator () noexcept | |
| Constructs a ConstIterator that does not refer to any value. | |
| ConstIterator (const Iterator &iterator) noexcept | |
| Constructs a ConstIterator that refers to the same value as the given Iterator. | |
| const ValueType & | operator* () const |
| Returns a const reference to the value to which the ConstIterator refers. | |
| const ValueType * | operator-> () const |
| Returns a const pointer to the value to which the ConstIterator refers. | |
| ConstIterator & | operator++ () |
| Advances the ConstIterator to the next value down the stack. | |
| ConstIterator | operator++ (int) |
| Advances the ConstIterator to the next value down the stack. | |
Friends | |
| class | AutoStack |
| bool | operator== (const ConstIterator &a, const ConstIterator &b) noexcept |
| Returns whether two ConstIterators refer to the same value. | |
| bool | operator!= (const ConstIterator &a, const ConstIterator &b) noexcept |
| Returns whether two ConstIterators refer to different values. | |
An iterator that visits the values of a const AutoStack from the top to the bottom.
|
inlinenoexcept |
Constructs a ConstIterator that does not refer to any value.
|
inlinenoexcept |
Constructs a ConstIterator that refers to the same value as the given Iterator.
| iterator | The Iterator from which the ConstIterator is constructed. |
|
inline |
Returns a const reference to the value to which the ConstIterator refers.
|
inline |
Advances the ConstIterator to the next value down the stack.
|
inline |
Advances the ConstIterator to the next value down the stack.
|
inline |
Returns a const pointer to the value to which the ConstIterator refers.
|
friend |
|
friend |
Returns whether two ConstIterators refer to different values.
|
friend |
Returns whether two ConstIterators refer to the same value.