C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Tests functionality from Exercise 5-8. More...
Typedefs | |
typedef boost::mpl::advance_c< boost::mpl::begin< exercise_5_8::fibonacci_series >::type, 6 >::type | i |
typedef boost::mpl::advance_c< i, 4 >::type | j |
Functions | |
BOOST_STATIC_ASSERT (boost::mpl::deref< i >::type::value==8) | |
BOOST_STATIC_ASSERT (boost::mpl::deref< j >::type::value==55) | |
Tests functionality from Exercise 5-8.
typedef boost::mpl::advance_c<boost::mpl::begin<exercise_5_8::fibonacci_series>::type,6>::type test_5_8::i |
Definition at line 60 of file chapter-5.cpp.
typedef boost::mpl::advance_c<i,4>::type test_5_8::j |
Definition at line 63 of file chapter-5.cpp.
test_5_8::BOOST_STATIC_ASSERT | ( | boost::mpl::deref< i >::type::value | = =8 | ) |
test_5_8::BOOST_STATIC_ASSERT | ( | boost::mpl::deref< j >::type::value | = =55 | ) |