C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
chapter5::tiny_iterator< Tiny, Pos > Struct Template Reference

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.
 

Detailed Description

template<typename Tiny, typename Pos>
struct chapter5::tiny_iterator< Tiny, Pos >

Define an iterator for use with the tiny sequence type.

Template Parameters
TinyThe sequence to iterate over.
PosThe current location in the sequence.

Definition at line 52 of file chapter-5-tiny.hpp.

Member Typedef Documentation

◆ category

template<typename Tiny , typename Pos >
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.


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