latest oatch from Nathan Ridge

[SVN r79305]
This commit is contained in:
Joel de Guzman
2012-07-05 23:39:50 +00:00
parent 85583b5ea9
commit a3b0cad1e7
4 changed files with 67 additions and 0 deletions

View File

@ -30,6 +30,8 @@ struct cls
namespace ns
{
BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE((M), s, (M, m))
BOOST_FUSION_DEFINE_TPL_STRUCT_INLINE((M), empty_struct, )
}
int
@ -43,6 +45,11 @@ main()
std::cout << tuple_close(']');
std::cout << tuple_delimiter(", ");
{
BOOST_STATIC_ASSERT(boost::fusion::result_of::size<ns::empty_struct<int> >::value == 0);
BOOST_STATIC_ASSERT(boost::fusion::result_of::empty<ns::empty_struct<int> >::value);
}
{
BOOST_MPL_ASSERT_NOT((traits::is_view<point>));
point p(123, 456);