C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Define an iterator for use with the tiny sequence type. More...
#include <chapter-5-tiny.hpp>
Public Types | |
typedef boost::mpl::random_access_iterator_tag | category |
The tiny sequence has Random Access iteration semantics. | |
Define an iterator for use with the tiny sequence type.
Tiny | The sequence to iterate over. |
Pos | The current location in the sequence. |
Definition at line 52 of file chapter-5-tiny.hpp.
typedef boost::mpl::random_access_iterator_tag chapter5::tiny_iterator< Tiny, Pos >::category |
The tiny sequence has Random Access iteration semantics.
Definition at line 55 of file chapter-5-tiny.hpp.