C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Tests functionality from Exercise 6-3. More...
Typedefs | |
typedef chapter5::tree< mpl_::integral_c< int, 17 >, chapter5::tree< mpl_::integral_c< int, 10 >, mpl_::integral_c< int, 2 >, mpl_::integral_c< int, 11 > >, mpl_::integral_c< int, 25 > > | bst_expected |
Expected value (whitebox edition). | |
Functions | |
BOOST_STATIC_ASSERT ((boost::is_same< exercise_6_3::bst, bst_expected >::value)) | |
BOOST_STATIC_ASSERT ((boost::mpl::equal< exercise_5_10::inorder_view< exercise_6_3::bst >, boost::mpl::vector_c< int, 2, 10, 11, 17, 25 > >::value)) | |
Tests functionality from Exercise 6-3.
typedef chapter5::tree< mpl_::integral_c<int, 17>, chapter5::tree< mpl_::integral_c<int, 10>, mpl_::integral_c<int, 2>, mpl_::integral_c<int, 11> >, mpl_::integral_c<int, 25>> anonymous_namespace{chapter-6.cpp}::test_6_3::bst_expected |
Expected value (whitebox edition).
Definition at line 112 of file chapter-6.cpp.
anonymous_namespace{chapter-6.cpp}::test_6_3::BOOST_STATIC_ASSERT | ( | (boost::is_same< exercise_6_3::bst, bst_expected >::value) | ) |
anonymous_namespace{chapter-6.cpp}::test_6_3::BOOST_STATIC_ASSERT | ( | (boost::mpl::equal< exercise_5_10::inorder_view< exercise_6_3::bst >, boost::mpl::vector_c< int, 2, 10, 11, 17, 25 > >::value) | ) |