fix erroneous example (reported by Brad Austin)

[SVN r26885]
This commit is contained in:
Aleksey Gurtovoy
2005-01-28 06:53:14 +00:00
parent 84d16ad057
commit 1b23934761

View File

@@ -89,9 +89,9 @@ Example
.. parsed-literal::
typedef range_c<long,10,50> range;
BOOST_MPL_ASSERT_RELATION( (at_c< range,0 >::value), ==, 10 );
BOOST_MPL_ASSERT_RELATION( (at_c< range,10 >::value), ==, 20 );
BOOST_MPL_ASSERT_RELATION( (at_c< range,40 >::value), ==, 50 );
BOOST_MPL_ASSERT_RELATION( (at_c< range,0 >::type::value), ==, 10 );
BOOST_MPL_ASSERT_RELATION( (at_c< range,10 >::type::value), ==, 20 );
BOOST_MPL_ASSERT_RELATION( (at_c< range,40 >::type::value), ==, 50 );
See also