C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
exercise_6_3::binary_tree_inserter< S, Op > Struct Template Reference

Basically indistinguishable from from any other inserter since we have a generic insert metafunction. More...

#include <exercise-6-3.hpp>

Public Types

typedef Op operation
 
typedef S state
 

Detailed Description

template<typename S, typename Op = boost::mpl::push_back<_, _>>
struct exercise_6_3::binary_tree_inserter< S, Op >

Basically indistinguishable from from any other inserter since we have a generic insert metafunction.

Now that I've got a sensible boost::mpl::push_back_impl<tree_tag>, this inserter will be easy...

Definition at line 59 of file exercise-6-3.hpp.

Member Typedef Documentation

◆ operation

template<typename S , typename Op = boost::mpl::push_back<_, _>>
typedef Op exercise_6_3::binary_tree_inserter< S, Op >::operation

Definition at line 61 of file exercise-6-3.hpp.

◆ state

template<typename S , typename Op = boost::mpl::push_back<_, _>>
typedef S exercise_6_3::binary_tree_inserter< S, Op >::state

Definition at line 62 of file exercise-6-3.hpp.


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