Skip to content
Commit 27d0a2a7 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

noexcept for <tuple>. And in the process learned that I had done it wrong for...

noexcept for <tuple>.  And in the process learned that I had done it wrong for pair's swap.  I needed to create an __is_nothrow_swappable<T>::value trait that was smart enought to answer false when __is_swappable<T>::value is false.  Otherwise one gets compile-time errors when using pair or tuple of non-swappable types, even if you never try to swap the pair or tuple.

llvm-svn: 132204
parent 97c9f84f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment