C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Tests functionality from Exercise 7-3. More...
Typedefs | |
typedef boost::mpl::vector_c< int, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4 > | v |
typedef exercise_7_3::rotate_view< v, boost::mpl::advance_c< boost::mpl::begin< v >::type, 5 >::type > | view |
Functions | |
BOOST_STATIC_ASSERT ((boost::mpl::equal< view, boost::mpl::range_c< int, 0, 10 > >::value)) | |
Tests functionality from Exercise 7-3.
typedef boost::mpl::vector_c<int,5,6,7,8,9,0,1,2,3,4> test_7_3::v |
Definition at line 171 of file chapter-7.cpp.
typedef exercise_7_3::rotate_view< v, boost::mpl::advance_c<boost::mpl::begin<v>::type, 5>::type> test_7_3::view |
Definition at line 175 of file chapter-7.cpp.
test_7_3::BOOST_STATIC_ASSERT | ( | (boost::mpl::equal< view, boost::mpl::range_c< int, 0, 10 > >::value) | ) |