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

@ -61,6 +61,7 @@ void run_test()
{
BOOST_MPL_ASSERT_NOT((traits::is_view<Point>));
BOOST_STATIC_ASSERT(!traits::is_view<Point>::value);
Point p(123, 456);
std::cout << at_c<0>(p) << std::endl;