Subject: [boost] [mpl] at<> example bug?
From: Mostafa (mostafa_working_away_at_[hidden])
Date: 2013-08-05 19:52:27


Looks like the example found here:
http://www.boost.org/doc/libs/1_54_0/libs/mpl/doc/refmanual/at.html is
buggy:

BOOST_MPL_ASSERT_RELATION( (at< range, int_<0> >::value), ==, 10 );

It should be:

BOOST_MPL_ASSERT_RELATION( (at< range, int_<0> >::type::value), ==, 10 );

Mostafa