From 1b2393476112aed8846318a335f5a71b4d3c7240 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Fri, 28 Jan 2005 06:53:14 +0000 Subject: [PATCH] fix erroneous example (reported by Brad Austin) [SVN r26885] --- doc/src/refmanual/at_c.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/refmanual/at_c.rst b/doc/src/refmanual/at_c.rst index 84e78af..9330dae 100644 --- a/doc/src/refmanual/at_c.rst +++ b/doc/src/refmanual/at_c.rst @@ -89,9 +89,9 @@ Example .. parsed-literal:: typedef range_c 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