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

@ -46,6 +46,7 @@ main()
{
typedef boost::tuple<int, std::string> tuple_type;
BOOST_MPL_ASSERT_NOT((traits::is_view<tuple_type>));
BOOST_STATIC_ASSERT(!traits::is_view<tuple_type>::value);
tuple_type t(123, "Hola!!!");
std::cout << at_c<0>(t) << std::endl;