1 #ifndef CONTAINER_CIRCULAR_ITERATOR_H_
2 #define CONTAINER_CIRCULAR_ITERATOR_H_
46 std::end(c), std::begin(c));
116 #endif // end-of-include-guard
Implementation of a circular iterator.
CircularIterator< typename T::iterator > make_circular(T &c)
Helper produces non-const circular iterator whose range corresponds to the begin and end iterators of...
Namespace for the core simulator.
Circular iterator implementation.
CircularIterator< T > next(CircularIterator< T > i)
Helper yields the position the iterator would have if moved forward (in circular fashion) by 1 positi...
CircularIterator< T > prev(CircularIterator< T > i)
Helper yields the position the iterator would have if moved backward (in circular fashion) by 1 posit...