Partial revert of changes for Issue #209 - compiler warnings

Issue #248 concerns reduced performance due to commit 0d5068a0cc
This commit is contained in:
Nigel Stewart
2025-09-05 16:10:15 +10:00
parent 7972bb2c97
commit a165f4919e

View File

@@ -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;
};