Mark swap(Replaceable) conditionally noexcept (#1070)
Summary: - Mark `swap(Replaceable&)` noexcept iff `Replaceable` is noexcept-swappable. As the comment aludes to, this is a C++17 feature, but we have it backported in `folly/Traits.h` Pull Request resolved: https://github.com/facebook/folly/pull/1070 Reviewed By: LeeHowes Differential Revision: D14518839 Pulled By: yfeldblum fbshipit-source-id: 966cca1733cf2a397c2406577baf941992f362d6
Showing
Please register or sign in to comment