C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
exercise_5_10::inorder_view< T > Struct Template Reference

Compels iterators to traverse the tree "in order". More...

#include <exercise-5-10.hpp>

Public Types

typedef T tree_root
 
typedef inorder_view_tag tag
 
typedef boost::mpl::forward_iterator_tag category
 

Detailed Description

template<typename T>
struct exercise_5_10::inorder_view< T >

Compels iterators to traverse the tree "in order".

Template Parameters
TThe binary tree to traverse.

Definition at line 79 of file exercise-5-10.hpp.

Member Typedef Documentation

◆ category

template<typename T >
typedef boost::mpl::forward_iterator_tag exercise_5_10::inorder_view< T >::category

Definition at line 83 of file exercise-5-10.hpp.

◆ tag

template<typename T >
typedef inorder_view_tag exercise_5_10::inorder_view< T >::tag

Definition at line 82 of file exercise-5-10.hpp.

◆ tree_root

template<typename T >
typedef T exercise_5_10::inorder_view< T >::tree_root

Definition at line 81 of file exercise-5-10.hpp.


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