mirror of
https://github.com/boostorg/variant2.git
synced 2026-01-24 16:12:27 +01:00
Add converting constructors, subset<U...>()
This commit is contained in:
@@ -122,7 +122,12 @@ int main()
|
||||
BOOST_TEST_TRAIT_FALSE((std::is_nothrow_move_constructible<variant<X1, X2, int, int>>));
|
||||
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_move_constructible<variant<X1, X2>>));
|
||||
|
||||
#if !BOOST_WORKAROUND( BOOST_MSVC, <= 1910 )
|
||||
|
||||
BOOST_TEST_TRAIT_FALSE((std::is_move_constructible<variant<int, float, Y>>));
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
return boost::report_errors();
|
||||
|
||||
Reference in New Issue
Block a user