noexcept for <list>.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-06-03 17:30:28 +00:00
parent b965fed10b
commit c560727d5e
8 changed files with 389 additions and 69 deletions

View File

@@ -160,7 +160,7 @@ template <class T, class Allocator>
template <class T, class Allocator>
void swap(forward_list<T, Allocator>& x, forward_list<T, Allocator>& y)
noexcept(x.swap(y));
noexcept(noexcept(x.swap(y)));
} // std