C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Tests functionality from Exercise 3-2. More...
Typedefs | |
typedef boost::mpl::vector_c< int, 1, 2, 3 > | init_vector_t |
typedef ex_3_2< init_vector_t >::type | new_vector_t |
Functions | |
BOOST_STATIC_ASSERT ((boost::mpl::equal< new_vector_t, boost::mpl::vector_c< int, 1, 4, 9 > >::type::value)) | |
Variables | |
new_vector_t | x |
Tests functionality from Exercise 3-2.
typedef boost::mpl::vector_c<int, 1, 2, 3> test_3_2::init_vector_t |
Definition at line 95 of file chapter-3.cpp.
typedef ex_3_2<init_vector_t>::type test_3_2::new_vector_t |
Definition at line 97 of file chapter-3.cpp.
test_3_2::BOOST_STATIC_ASSERT | ( | (boost::mpl::equal< new_vector_t, boost::mpl::vector_c< int, 1, 4, 9 > >::type::value) | ) |
new_vector_t test_3_2::x |
Definition at line 98 of file chapter-3.cpp.