StuBS
|
A Queue Iterator. More...
#include <object/queue.h>
Public Member Functions | |
Iterator (Queue< T > *queue) | |
bool | operator!= (const Iterator &other) |
T * | operator* () |
Iterator & | operator++ () |
A Queue Iterator.
This class provides an iterator for our Queue implementation. The Iterator class encapsulates the state when iterating over the queue, such as when using C++11 Range Loops. The Queue Iterators are implemented as forward iterators.