[libcxx] r255738 - Make noexcept specifications on __hash_table definitions match their declarations.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 16:53:04 PST 2015


Author: ericwf
Date: Tue Dec 15 18:53:04 2015
New Revision: 255738

URL: http://llvm.org/viewvc/llvm-project?rev=255738&view=rev
Log:
Make noexcept specifications on __hash_table definitions match their declarations.

Modified:
    libcxx/trunk/include/__hash_table

Modified: libcxx/trunk/include/__hash_table
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__hash_table?rev=255738&r1=255737&r2=255738&view=diff
==============================================================================
--- libcxx/trunk/include/__hash_table (original)
+++ libcxx/trunk/include/__hash_table Tue Dec 15 18:53:04 2015
@@ -1143,6 +1143,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>
     _NOEXCEPT_(
         is_nothrow_default_constructible<__bucket_list>::value &&
         is_nothrow_default_constructible<__first_node>::value &&
+        is_nothrow_default_constructible<__node_allocator>::value &&
         is_nothrow_default_constructible<hasher>::value &&
         is_nothrow_default_constructible<key_equal>::value)
     : __p2_(0),
@@ -1211,6 +1212,7 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>
         _NOEXCEPT_(
             is_nothrow_move_constructible<__bucket_list>::value &&
             is_nothrow_move_constructible<__first_node>::value &&
+            is_nothrow_move_constructible<__node_allocator>::value &&
             is_nothrow_move_constructible<hasher>::value &&
             is_nothrow_move_constructible<key_equal>::value)
     : __bucket_list_(_VSTD::move(__u.__bucket_list_)),




More information about the cfe-commits mailing list