Fix GitHub #79 ("Mark small_vector move operations noexcept")

This commit is contained in:
Ion Gaztañaga
2018-11-11 00:20:22 +01:00
parent 0c26acd423
commit 059133a345
3 changed files with 6 additions and 0 deletions
@@ -372,6 +372,7 @@ public:
//! @par Complexity
//! Linear O(N).
BOOST_CONTAINER_FORCEINLINE static_vector & operator=(BOOST_RV_REF(static_vector) other)
BOOST_NOEXCEPT_IF(boost::container::dtl::is_nothrow_move_assignable<value_type>::value)
{
return static_cast<static_vector&>(base_t::operator=(BOOST_MOVE_BASE(base_t, other)));
}