mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 04:02:17 +00:00
Partial revert of changes for Issue #209 - compiler warnings
Issue #248 concerns reduced performance due to commit 0d5068a0cc
This commit is contained in:
@@ -555,7 +555,8 @@ template<class A, class B>
|
||||
struct is_trivially_copy_assignable
|
||||
<boost::container::dtl::pair<A,B> >
|
||||
{
|
||||
BOOST_STATIC_CONSTEXPR bool value = false ;
|
||||
BOOST_STATIC_CONSTEXPR bool value = boost::move_detail::is_trivially_copy_assignable<A>::value &&
|
||||
boost::move_detail::is_trivially_copy_assignable<B>::value;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -565,7 +566,8 @@ template<class A, class B>
|
||||
struct is_trivially_move_assignable
|
||||
<boost::container::dtl::pair<A,B> >
|
||||
{
|
||||
BOOST_STATIC_CONSTEXPR bool value = false;
|
||||
BOOST_STATIC_CONSTEXPR bool value = boost::move_detail::is_trivially_move_assignable<A>::value &&
|
||||
boost::move_detail::is_trivially_move_assignable<B>::value;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -574,7 +576,8 @@ struct is_trivially_copy_assignable;
|
||||
template<class A, class B>
|
||||
struct is_trivially_copy_constructible<boost::container::dtl::pair<A,B> >
|
||||
{
|
||||
BOOST_STATIC_CONSTEXPR bool value = false;
|
||||
BOOST_STATIC_CONSTEXPR bool value = boost::move_detail::is_trivially_copy_constructible<A>::value &&
|
||||
boost::move_detail::is_trivially_copy_constructible<B>::value;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -583,7 +586,8 @@ struct is_trivially_move_assignable;
|
||||
template<class A, class B>
|
||||
struct is_trivially_move_constructible<boost::container::dtl::pair<A,B> >
|
||||
{
|
||||
BOOST_STATIC_CONSTEXPR bool value = false;
|
||||
BOOST_STATIC_CONSTEXPR bool value = boost::move_detail::is_trivially_move_constructible<A>::value &&
|
||||
boost::move_detail::is_trivially_move_constructible<B>::value;
|
||||
};
|
||||
|
||||
template<class T>
|
||||
@@ -593,7 +597,7 @@ template<class A, class B>
|
||||
struct is_trivially_destructible<boost::container::dtl::pair<A,B> >
|
||||
{
|
||||
BOOST_STATIC_CONSTEXPR bool value = boost::move_detail::is_trivially_destructible<A>::value &&
|
||||
boost::move_detail::is_trivially_destructible<B>::value ;
|
||||
boost::move_detail::is_trivially_destructible<B>::value;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user