Use _GLIBCXX_NOEXCEPT_IF for std::swap
authorJonathan Wakely <jwakely@redhat.com>
Mon, 29 Apr 2019 13:25:38 +0000 (14:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 29 Apr 2019 13:25:38 +0000 (14:25 +0100)
commit81912fb385a91073efd327354fc01f17641a9c6b
tree726f77656eb8f594017b6c3cae5189dc01773792
parent7bbdd8d13e6cc06d77321209a945edf64350a5ac
Use _GLIBCXX_NOEXCEPT_IF for std::swap

* include/bits/move.h (swap(T&, T&), swap(T (&)[N], T (&)[N])): Use
_GLIBCXX_NOEXCEPT_IF to simplify declarations.

From-SVN: r270650
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/move.h