C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Encapsulate solution for Exercise 6-3. More...
Classes | |
struct | binary_tree_inserter |
Basically indistinguishable from from any other inserter since we have a generic insert metafunction. More... | |
Typedefs | |
typedef boost::mpl::copy< boost::mpl::vector_c< int, 17, 25, 10, 2, 11 >, binary_tree_inserter< chapter5::tree<> > >::type | bst |
A sorted binary tree copied from the source vector. | |
Encapsulate solution for Exercise 6-3.
typedef boost::mpl::copy<boost::mpl::vector_c<int,17,25,10,2,11>,binary_tree_inserter<chapter5::tree<>>>::type exercise_6_3::bst |
A sorted binary tree copied from the source vector.
Definition at line 69 of file exercise-6-3.hpp.