C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Tests functionality from Exercise 7-7. More...
Typedefs | |
typedef boost::mpl::vector_c< int, 1, 2 > | v1 |
typedef boost::mpl::rbegin< v1 >::type | ri0 |
typedef boost::mpl::deref< ri0 >::type | rv0 |
typedef boost::mpl::next< ri0 >::type | ri1 |
typedef boost::mpl::deref< ri1 >::type | rv1 |
typedef boost::mpl::next< ri1 >::type | ri2 |
typedef boost::mpl::rend< v1 >::type | ri_end |
typedef boost::mpl::prior< ri1 >::type | ri1_prior |
Functions | |
BOOST_STATIC_ASSERT ((rv0::value==2)) | |
BOOST_STATIC_ASSERT ((rv1::value==1)) | |
BOOST_STATIC_ASSERT ((boost::is_same< ri2, ri_end >::value)) | |
BOOST_STATIC_ASSERT ((boost::is_same< ri1_prior, ri0 >::value)) | |
Tests functionality from Exercise 7-7.
typedef boost::mpl::rbegin<v1>::type test_7_7::ri0 |
Definition at line 212 of file chapter-7.cpp.
typedef boost::mpl::next<ri0>::type test_7_7::ri1 |
Definition at line 216 of file chapter-7.cpp.
typedef boost::mpl::prior<ri1>::type test_7_7::ri1_prior |
Definition at line 224 of file chapter-7.cpp.
typedef boost::mpl::next<ri1>::type test_7_7::ri2 |
Definition at line 220 of file chapter-7.cpp.
typedef boost::mpl::rend<v1>::type test_7_7::ri_end |
Definition at line 221 of file chapter-7.cpp.
typedef boost::mpl::deref<ri0>::type test_7_7::rv0 |
Definition at line 213 of file chapter-7.cpp.
typedef boost::mpl::deref<ri1>::type test_7_7::rv1 |
Definition at line 217 of file chapter-7.cpp.
typedef boost::mpl::vector_c<int, 1, 2> test_7_7::v1 |
Definition at line 211 of file chapter-7.cpp.
test_7_7::BOOST_STATIC_ASSERT | ( | (rv0::value==2) | ) |
test_7_7::BOOST_STATIC_ASSERT | ( | (rv1::value==1) | ) |