Skip to content

Commit

Permalink
Fixes #209
Browse files Browse the repository at this point in the history
  • Loading branch information
igaztanaga committed Jul 16, 2022
1 parent d3494d2 commit 0d5068a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions doc/container.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,7 @@ use [*Boost.Container]? There are several reasons for that:
[section:release_notes_boost_1_80_00 Boost 1.80 Release]

* Fixed bugs/issues:
* [@https://github.com/boostorg/container/issues/209 GitHub #209: ['"Some boost warnings with my R package (Wclass-memaccess warnings with std::pair)"]].
* [@https://github.com/boostorg/container/issues/221 GitHub #218: ['"small_vector static capacity is too small when not a multiple of 8 bytes"]].
* [@https://github.com/boostorg/container/issues/221 GitHub #221: ['"flat_set and friends should offer a const sequence_type& sequence() const method (...)"]].
* [@https://github.com/boostorg/container/pull/222 GitHub #222: ['"Fix incomplete type error when using list with pair"]].
Expand Down
12 changes: 4 additions & 8 deletions include/boost/container/detail/pair.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,7 @@ template<class A, class B>
struct is_trivially_copy_assignable
<boost::container::dtl::pair<A,B> >
{
static const bool value = boost::move_detail::is_trivially_copy_assignable<A>::value &&
boost::move_detail::is_trivially_copy_assignable<B>::value ;
static const bool value = false ;
};

template<class T>
Expand All @@ -567,8 +566,7 @@ template<class A, class B>
struct is_trivially_move_assignable
<boost::container::dtl::pair<A,B> >
{
static const bool value = boost::move_detail::is_trivially_move_assignable<A>::value &&
boost::move_detail::is_trivially_move_assignable<B>::value ;
static const bool value = false;
};

template<class T>
Expand All @@ -577,8 +575,7 @@ struct is_trivially_copy_assignable;
template<class A, class B>
struct is_trivially_copy_constructible<boost::container::dtl::pair<A,B> >
{
static const bool value = boost::move_detail::is_trivially_copy_constructible<A>::value &&
boost::move_detail::is_trivially_copy_constructible<B>::value ;
static const bool value = false;
};

template<class T>
Expand All @@ -587,8 +584,7 @@ struct is_trivially_move_assignable;
template<class A, class B>
struct is_trivially_move_constructible<boost::container::dtl::pair<A,B> >
{
static const bool value = boost::move_detail::is_trivially_move_constructible<A>::value &&
boost::move_detail::is_trivially_move_constructible<B>::value ;
static const bool value = false;
};

template<class T>
Expand Down

0 comments on commit 0d5068a

Please sign in to comment.