C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
exercise-6-3.hpp File Reference

Solution to Exercise 6-3. More...

#include "chapter-6-tree.hpp"
#include <boost/mpl/copy.hpp>
#include <boost/mpl/placeholders.hpp>
#include <boost/mpl/vector_c.hpp>

Go to the source code of this file.

Classes

struct  exercise_6_3::binary_tree_inserter< S, Op >
 Basically indistinguishable from from any other inserter since we have a generic insert metafunction. More...
 

Namespaces

namespace  exercise_6_3
 Encapsulate solution for Exercise 6-3.
 

Typedefs

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.
 

Detailed Description

Solution to Exercise 6-3.

Author
Matt Bisson

Definition in file exercise-6-3.hpp.