Define traits::is_view for non fusion types

This commit is contained in:
Nikita Kniazev
2018-08-03 00:24:10 +03:00
parent b8fafe04d9
commit b0f0882229
39 changed files with 66 additions and 0 deletions

View File

@ -54,6 +54,7 @@ main()
{
BOOST_MPL_ASSERT_NOT((traits::is_view<ns::point>));
BOOST_STATIC_ASSERT(!traits::is_view<ns::point>::value);
ns::point p(123, 456);
std::cout << at_c<0>(p) << std::endl;