forked from boostorg/fusion
merge [70965] [73644] [73668] [73669] [73683] [73770] [73771] [73831] [73834] [73854] [73892] [73898] [73899] [73906] [73908] [73927] [74019] [74048] [74113] from trunk to release
[SVN r74325]
This commit is contained in:
@ -54,9 +54,9 @@ main()
|
||||
std::cout << rev << std::endl;
|
||||
BOOST_TEST((rev == make_vector(s, 123456789, 'x', 123)));
|
||||
|
||||
typedef result_of::begin<view_type>::type first_type;
|
||||
typedef boost::fusion::result_of::begin<view_type>::type first_type;
|
||||
first_type first_it(begin(rev));
|
||||
typedef result_of::next<first_type>::type second_type;
|
||||
typedef boost::fusion::result_of::next<first_type>::type second_type;
|
||||
second_type second_it(next(first_it));
|
||||
BOOST_TEST((*second_it == 123456789));
|
||||
BOOST_TEST((*prior(second_it) == s));
|
||||
@ -69,16 +69,16 @@ main()
|
||||
BOOST_TEST((at_c<3>(rev)==123));
|
||||
|
||||
BOOST_MPL_ASSERT((
|
||||
boost::is_same<result_of::value_at_c<view_type,0>::type,char const*>
|
||||
boost::is_same<boost::fusion::result_of::value_at_c<view_type,0>::type,char const*>
|
||||
));
|
||||
BOOST_MPL_ASSERT((
|
||||
boost::is_same<result_of::value_at_c<view_type,1>::type,long>
|
||||
boost::is_same<boost::fusion::result_of::value_at_c<view_type,1>::type,long>
|
||||
));
|
||||
BOOST_MPL_ASSERT((
|
||||
boost::is_same<result_of::value_at_c<view_type,2>::type,char>
|
||||
boost::is_same<boost::fusion::result_of::value_at_c<view_type,2>::type,char>
|
||||
));
|
||||
BOOST_MPL_ASSERT((
|
||||
boost::is_same<result_of::value_at_c<view_type,3>::type,int>
|
||||
boost::is_same<boost::fusion::result_of::value_at_c<view_type,3>::type,int>
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user