List::Iterator Class Reference

A bidirectional iterator class for List. More...

#include "List.hpp"

Public Types

typedef std::bidirectional_iterator_tag iterator_category
 
typedef T value_type
 
typedef List< T >::difference_type difference_type
 
typedef ConstSel< T, Const >::Type & reference
 
typedef ConstSel< T, Const >::Type * pointer
 
typedef Iterator< true, Forward > ConstIterator
 

Public Member Functions

 Iterator (const Iterator &other)
 
 operator ConstIterator () const
 
Iteratoroperator= (const Iterator &other)
 
reference operator* () const
 
pointer operator-> () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
bool operator== (const Iterator< true, Forward > &other) const
 
bool operator== (const Iterator< false, Forward > &other) const
 
bool operator!= (const Iterator< true, Forward > &other) const
 
bool operator!= (const Iterator< false, Forward > &other) const
 

Detailed Description

A bidirectional iterator class for List.

Template Parameters
Constconstant-ness
Forwardforward/reverse traversal
Author
wk
Date
02.02.2011