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