mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-15 05:16:39 +02:00
latest oatch from Nathan Ridge
[SVN r79305]
This commit is contained in:
@ -29,6 +29,8 @@ struct cls
|
||||
namespace ns
|
||||
{
|
||||
BOOST_FUSION_DEFINE_STRUCT_INLINE(s, (int, m))
|
||||
|
||||
BOOST_FUSION_DEFINE_STRUCT_INLINE(empty_struct, )
|
||||
}
|
||||
|
||||
int
|
||||
@ -40,6 +42,11 @@ main()
|
||||
std::cout << tuple_close(']');
|
||||
std::cout << tuple_delimiter(", ");
|
||||
|
||||
{
|
||||
BOOST_STATIC_ASSERT(boost::fusion::result_of::size<ns::empty_struct>::value == 0);
|
||||
BOOST_STATIC_ASSERT(boost::fusion::result_of::empty<ns::empty_struct>::value);
|
||||
}
|
||||
|
||||
{
|
||||
BOOST_MPL_ASSERT_NOT((traits::is_view<cls::point>));
|
||||
cls::point p(123, 456);
|
||||
|
Reference in New Issue
Block a user