[libcxx] r206424 - Remove some unnecessary noexcept conditions. Thanks to Richard Smith for the catch.
Marshall Clow
mclow.lists at gmail.com
Wed Apr 16 16:12:55 PDT 2014
Author: marshall
Date: Wed Apr 16 18:12:55 2014
New Revision: 206424
URL: http://llvm.org/viewvc/llvm-project?rev=206424&view=rev
Log:
Remove some unnecessary noexcept conditions. Thanks to Richard Smith for the catch.
Modified:
libcxx/trunk/include/map
libcxx/trunk/include/set
Modified: libcxx/trunk/include/map
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/map?rev=206424&r1=206423&r2=206424&view=diff
==============================================================================
--- libcxx/trunk/include/map (original)
+++ libcxx/trunk/include/map Wed Apr 16 18:12:55 2014
@@ -846,7 +846,6 @@ public:
explicit map(const key_compare& __comp)
_NOEXCEPT_(
is_nothrow_default_constructible<allocator_type>::value &&
- is_nothrow_default_constructible<key_compare>::value &&
is_nothrow_copy_constructible<key_compare>::value)
: __tree_(__vc(__comp)) {}
@@ -1587,7 +1586,6 @@ public:
explicit multimap(const key_compare& __comp)
_NOEXCEPT_(
is_nothrow_default_constructible<allocator_type>::value &&
- is_nothrow_default_constructible<key_compare>::value &&
is_nothrow_copy_constructible<key_compare>::value)
: __tree_(__vc(__comp)) {}
Modified: libcxx/trunk/include/set
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/set?rev=206424&r1=206423&r2=206424&view=diff
==============================================================================
--- libcxx/trunk/include/set (original)
+++ libcxx/trunk/include/set Wed Apr 16 18:12:55 2014
@@ -436,7 +436,6 @@ public:
explicit set(const value_compare& __comp)
_NOEXCEPT_(
is_nothrow_default_constructible<allocator_type>::value &&
- is_nothrow_default_constructible<key_compare>::value &&
is_nothrow_copy_constructible<key_compare>::value)
: __tree_(__comp) {}
@@ -842,7 +841,6 @@ public:
explicit multiset(const value_compare& __comp)
_NOEXCEPT_(
is_nothrow_default_constructible<allocator_type>::value &&
- is_nothrow_default_constructible<key_compare>::value &&
is_nothrow_copy_constructible<key_compare>::value)
: __tree_(__comp) {}
More information about the cfe-commits
mailing list