a circulator that is foreseen to take as template member either a pointer or an iterator;
More...
Public Member Functions |
| circulator (T here, T begin, T end) |
| ctor with iniitalisation from iterators
|
| circulator (const circulator< T > &other) |
| copy ctor
|
void | set_position (const circulator< T > &other) |
| set just the position without resetting the begin and end elements
|
void | set_position (T pointer) |
| set just the position without resetting the begin and end elements
|
T | operator() () |
| get the current object
|
circulator< T > & | operator++ () |
| position incrementation
|
circulator< T > & | operator-- () |
| position decrementation
|
bool | operator== (const circulator &other) const |
| check if the current elements are the same NB: for efficiency, this checks only the here element
|
bool | operator!= (const circulator &other) const |
| check if the current elements are different NB: for efficiency, this checks only the here element
|
template<class T>
class siscone::circulator< T >
a circulator that is foreseen to take as template member either a pointer or an iterator;
Definition at line 36 of file circulator.h.