From ca0e58f3fc088a253c71a02c450b00aca0739d58 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 9 Jun 2017 04:49:44 +0300 Subject: [PATCH] is_trivially_copyable doesn't exist on 4.9 either --- include/boost/variant2/variant.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/variant2/variant.hpp b/include/boost/variant2/variant.hpp index 7c50317..6b3a70f 100644 --- a/include/boost/variant2/variant.hpp +++ b/include/boost/variant2/variant.hpp @@ -361,7 +361,7 @@ template union variant_storage_impl { #if defined( BOOST_LIBSTDCXX_VERSION ) && BOOST_LIBSTDCXX_VERSION < 50000 - this->emplace_impl( mp_all, std::is_trivially_copyable, std::is_move_assignable..., std::is_trivially_copyable...>(), mp_size_t(), std::forward(a)... ); + this->emplace_impl( mp_all, std::is_trivial, std::is_move_assignable..., std::is_trivial...>(), mp_size_t(), std::forward(a)... ); #else @@ -505,7 +505,7 @@ template struct variant_base_impl #if defined( BOOST_LIBSTDCXX_VERSION ) && BOOST_LIBSTDCXX_VERSION < 50000 - this->emplace_impl( std::is_nothrow_constructible(), mp_all, std::is_move_assignable..., std::is_trivially_copyable...>(), std::forward(a)... ); + this->emplace_impl( std::is_nothrow_constructible(), mp_all, std::is_move_assignable..., std::is_trivial...>(), std::forward(a)... ); #else