forked from boostorg/fusion
baking segmented Fusion
[SVN r73854]
This commit is contained in:
@ -83,8 +83,8 @@ main()
|
||||
at_c<1>(p) = 9;
|
||||
BOOST_TEST(p == make_vector(6, 9));
|
||||
|
||||
BOOST_STATIC_ASSERT(result_of::size<adapted::point>::value == 2);
|
||||
BOOST_STATIC_ASSERT(!result_of::empty<adapted::point>::value);
|
||||
BOOST_STATIC_ASSERT(boost::fusion::result_of::size<adapted::point>::value == 2);
|
||||
BOOST_STATIC_ASSERT(!boost::fusion::result_of::empty<adapted::point>::value);
|
||||
|
||||
BOOST_TEST(front(p) == 6);
|
||||
BOOST_TEST(back(p) == 9);
|
||||
@ -127,7 +127,7 @@ main()
|
||||
{
|
||||
BOOST_MPL_ASSERT((mpl::is_sequence<adapted::point>));
|
||||
BOOST_MPL_ASSERT((boost::is_same<
|
||||
fusion::result_of::value_at_c<adapted::point,0>::type
|
||||
boost::fusion::result_of::value_at_c<adapted::point,0>::type
|
||||
, mpl::front<adapted::point>::type>));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user