Merge pull request #317 from nigels-com/revert-issue-209

Partial revert of changes for Issue #209 - compiler warnings
This commit is contained in:
Ion Gaztañaga
2025-09-06 23:54:43 +02:00
committed by GitHub

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