StuBS
Queue< T >::Iterator Class Reference

A Queue Iterator. More...

#include <object/queue.h>

Public Member Functions

 Iterator (Queue< T > *queue)
 
bool operator!= (const Iterator &other)
 
T * operator* ()
 
Iteratoroperator++ ()
 

Detailed Description

template<typename T>
class Queue< T >::Iterator

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.


The documentation for this class was generated from the following file: