An iterator that visits the values of an AutoStack from the top to the bottom.
More...
#include <bond/stl/autostack.h>
template<typename ValueType>
class Bond::AutoStack< ValueType >::Iterator
An iterator that visits the values of an AutoStack from the top to the bottom.
◆ Iterator()
template<typename ValueType>
Constructs an Iterator that does not refer to any value.
◆ operator!=()
template<typename ValueType>
Returns whether two Iterators refer to different values.
◆ operator*()
template<typename ValueType>
Returns a reference to the value to which the Iterator refers.
◆ operator++() [1/2]
template<typename ValueType>
Advances the Iterator to the next value down the stack.
- Returns
- A reference to this Iterator.
◆ operator++() [2/2]
template<typename ValueType>
Advances the Iterator to the next value down the stack.
- Returns
- A copy of the Iterator from before it was advanced.
◆ operator->()
template<typename ValueType>
Returns a pointer to the value to which the Iterator refers.
◆ operator==()
template<typename ValueType>
Returns whether two Iterators refer to the same value.
◆ AutoStack
template<typename ValueType>
◆ ConstIterator
template<typename ValueType>
| friend class ConstIterator |
|
friend |
The documentation for this class was generated from the following file:
- include/bond/stl/autostack.h