mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-14 04:46:38 +02:00
Define traits::is_view for non fusion types
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user