commit | a5e0121b8dcae2b6e1980d46522ab5a03b9a610e | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Fri May 27 19:08:18 2011 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Fri May 27 19:08:18 2011 +0000 |
tree | d03f01f43580a70467fe20c1a6d80754be3a5a37 | |
parent | e9b2c2d6692f08489c28b8694cde5ad78ef06f12 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132204 91177308-0d34-0410-b5e6-96231b3b80d8