mirror of
https://github.com/boostorg/fusion.git
synced 2026-04-29 02:03:35 +02:00
Define traits::is_view for non fusion types
This commit is contained in:
@@ -43,6 +43,7 @@ main()
|
||||
empty_struct empty;
|
||||
{
|
||||
BOOST_MPL_ASSERT((traits::is_view<adapted::empty_struct>));
|
||||
BOOST_STATIC_ASSERT(traits::is_view<adapted::empty_struct>::value);
|
||||
adapted::empty_struct e(empty);
|
||||
|
||||
std::cout << e << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user