diff --git a/doc/container.qbk b/doc/container.qbk index ab0a87b..a4c3056 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1343,6 +1343,7 @@ use [*Boost.Container]? There are several reasons for that: * Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. * Fixed bugs/issues: * [@https://github.com/boostorg/container/issues/139 GitHub #139: ['"flat_map merge and iterators"]]. + * [@https://github.com/boostorg/container/issues/141 GitHub #141: ['"small_vector does not propagate no throw properties of move operation of contained type"]]. * [@https://github.com/boostorg/container/issues/164 GitHub #164: ['"Compile error when using `pmr::map` with a `std::pair`; works when using a `std::tuple`"]]. * [@https://github.com/boostorg/container/issues/171 GitHub #171: ['"deque::clear() uses undefined behaviour"]]. diff --git a/include/boost/container/small_vector.hpp b/include/boost/container/small_vector.hpp index fcdf3f2..1f22eaa 100644 --- a/include/boost/container/small_vector.hpp +++ b/include/boost/container/small_vector.hpp @@ -653,7 +653,7 @@ class small_vector : public small_vector_base { this->move_construct_impl(other, other.get_stored_allocator()); } BOOST_CONTAINER_FORCEINLINE small_vector(BOOST_RV_REF(small_vector) other) - BOOST_NOEXCEPT_IF(boost::container::dtl::is_nothrow_move_assignable::value) + BOOST_NOEXCEPT_IF(boost::container::dtl::is_nothrow_move_constructible::value) : base_type(initial_capacity_t(), internal_capacity(), ::boost::move(other.get_stored_allocator())) { this->move_construct_impl(other, other.get_stored_allocator()); }