mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-16 05:42:20 +02:00
baking segmented Fusion
[SVN r73854]
This commit is contained in:
@ -48,8 +48,8 @@ main()
|
||||
at_c<1>(p) = 9;
|
||||
BOOST_TEST(p == make_vector(6, 9));
|
||||
|
||||
BOOST_STATIC_ASSERT(result_of::size<ns::point>::value == 2);
|
||||
BOOST_STATIC_ASSERT(!result_of::empty<ns::point>::value);
|
||||
BOOST_STATIC_ASSERT(boost::fusion::result_of::size<ns::point>::value == 2);
|
||||
BOOST_STATIC_ASSERT(!boost::fusion::result_of::empty<ns::point>::value);
|
||||
|
||||
BOOST_TEST(front(p) == 6);
|
||||
BOOST_TEST(back(p) == 9);
|
||||
@ -86,10 +86,10 @@ main()
|
||||
{ // begin/end
|
||||
using namespace boost::fusion;
|
||||
|
||||
typedef result_of::begin<s>::type b;
|
||||
typedef result_of::end<s>::type e;
|
||||
typedef boost::fusion::result_of::begin<s>::type b;
|
||||
typedef boost::fusion::result_of::end<s>::type e;
|
||||
// this fails
|
||||
BOOST_MPL_ASSERT((boost::is_same<result_of::next<b>::type, e>));
|
||||
BOOST_MPL_ASSERT((boost::is_same<boost::fusion::result_of::next<b>::type, e>));
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user