mirror of
https://github.com/boostorg/variant2.git
synced 2025-08-01 05:04:27 +02:00
is_trivially_copyable doesn't exist on 4.9 either
This commit is contained in:
@@ -361,7 +361,7 @@ template<class T1, class... T> union variant_storage_impl<mp_true, T1, T...>
|
||||
{
|
||||
#if defined( BOOST_LIBSTDCXX_VERSION ) && BOOST_LIBSTDCXX_VERSION < 50000
|
||||
|
||||
this->emplace_impl( mp_all<std::is_move_assignable<T1>, std::is_trivially_copyable<T1>, std::is_move_assignable<T>..., std::is_trivially_copyable<T>...>(), mp_size_t<I>(), std::forward<A>(a)... );
|
||||
this->emplace_impl( mp_all<std::is_move_assignable<T1>, std::is_trivial<T1>, std::is_move_assignable<T>..., std::is_trivial<T>...>(), mp_size_t<I>(), std::forward<A>(a)... );
|
||||
|
||||
#else
|
||||
|
||||
@@ -505,7 +505,7 @@ template<class... T> struct variant_base_impl<true, true, T...>
|
||||
|
||||
#if defined( BOOST_LIBSTDCXX_VERSION ) && BOOST_LIBSTDCXX_VERSION < 50000
|
||||
|
||||
this->emplace_impl<J, U>( std::is_nothrow_constructible<U, A...>(), mp_all<std::is_move_constructible<U>, std::is_move_assignable<T>..., std::is_trivially_copyable<T>...>(), std::forward<A>(a)... );
|
||||
this->emplace_impl<J, U>( std::is_nothrow_constructible<U, A...>(), mp_all<std::is_move_constructible<U>, std::is_move_assignable<T>..., std::is_trivial<T>...>(), std::forward<A>(a)... );
|
||||
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user