diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-06-03 16:20:53 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-06-03 16:20:53 +0000 |
commit | b965fed10bc47c74ed491717af082ecf5c8b815b (patch) | |
tree | 380ccf82cc549cebde7323a41ff9d5575a5cb562 /include/deque | |
parent | 009b2c4583bcbfc5d0893154eb0866aa21b494cd (diff) | |
download | external_libcxx-b965fed10bc47c74ed491717af082ecf5c8b815b.tar.gz external_libcxx-b965fed10bc47c74ed491717af082ecf5c8b815b.tar.bz2 external_libcxx-b965fed10bc47c74ed491717af082ecf5c8b815b.zip |
noexcept for <forward_list>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/deque')
-rw-r--r-- | include/deque | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/deque b/include/deque index 71fa7f845..6ada42a66 100644 --- a/include/deque +++ b/include/deque @@ -948,7 +948,7 @@ public: #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES void swap(__deque_base& __c) - _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value|| + _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable<allocator_type>::value); protected: void clear() _NOEXCEPT; |