boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
96 stars 116 forks source link

Add conditional noexcept forwarding from free to member swap functions. #175

Closed palebedev closed 3 years ago

palebedev commented 3 years ago

This allows std::is_nothrow_swappable{,_with} to work properly. This only touches user-facing classes, with the following exceptions:

I am unsure on the last three points, feel free to correct and cherry-pick as needed.

igaztanaga commented 3 years ago

Many thanks for the patch!