C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
A basic type to represent a binary tree. More...
#include <chapter-5-tree.hpp>
Public Types | |
typedef tree< Cur, L, R > | type |
typedef tree_tag | tag |
A basic type to represent a binary tree.
Cur | The "current" type information for this tree node. This may be boost::mpl::void_ to signify an empty tree. |
L | The left branch of the tree structure. This may be boost::mpl::void_ to indicate that the branch does not exist. |
R | The right branch of the tree structure. This may be boost::mpl::void_ to indicate that the branch does not exist. |
Definition at line 32 of file chapter-5-tree.hpp.
typedef tree_tag chapter5::tree< Cur, L, R >::tag |
Definition at line 35 of file chapter-5-tree.hpp.
typedef tree<Cur, L, R> chapter5::tree< Cur, L, R >::type |
Definition at line 34 of file chapter-5-tree.hpp.