Remove some unnecessary noexcept conditions. Thanks to Richard Smith for the catch.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@206424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d4d519f0b
commit
6601516af8
@ -846,7 +846,6 @@ public:
|
|||||||
explicit map(const key_compare& __comp)
|
explicit map(const key_compare& __comp)
|
||||||
_NOEXCEPT_(
|
_NOEXCEPT_(
|
||||||
is_nothrow_default_constructible<allocator_type>::value &&
|
is_nothrow_default_constructible<allocator_type>::value &&
|
||||||
is_nothrow_default_constructible<key_compare>::value &&
|
|
||||||
is_nothrow_copy_constructible<key_compare>::value)
|
is_nothrow_copy_constructible<key_compare>::value)
|
||||||
: __tree_(__vc(__comp)) {}
|
: __tree_(__vc(__comp)) {}
|
||||||
|
|
||||||
@ -1587,7 +1586,6 @@ public:
|
|||||||
explicit multimap(const key_compare& __comp)
|
explicit multimap(const key_compare& __comp)
|
||||||
_NOEXCEPT_(
|
_NOEXCEPT_(
|
||||||
is_nothrow_default_constructible<allocator_type>::value &&
|
is_nothrow_default_constructible<allocator_type>::value &&
|
||||||
is_nothrow_default_constructible<key_compare>::value &&
|
|
||||||
is_nothrow_copy_constructible<key_compare>::value)
|
is_nothrow_copy_constructible<key_compare>::value)
|
||||||
: __tree_(__vc(__comp)) {}
|
: __tree_(__vc(__comp)) {}
|
||||||
|
|
||||||
|
@ -436,7 +436,6 @@ public:
|
|||||||
explicit set(const value_compare& __comp)
|
explicit set(const value_compare& __comp)
|
||||||
_NOEXCEPT_(
|
_NOEXCEPT_(
|
||||||
is_nothrow_default_constructible<allocator_type>::value &&
|
is_nothrow_default_constructible<allocator_type>::value &&
|
||||||
is_nothrow_default_constructible<key_compare>::value &&
|
|
||||||
is_nothrow_copy_constructible<key_compare>::value)
|
is_nothrow_copy_constructible<key_compare>::value)
|
||||||
: __tree_(__comp) {}
|
: __tree_(__comp) {}
|
||||||
|
|
||||||
@ -842,7 +841,6 @@ public:
|
|||||||
explicit multiset(const value_compare& __comp)
|
explicit multiset(const value_compare& __comp)
|
||||||
_NOEXCEPT_(
|
_NOEXCEPT_(
|
||||||
is_nothrow_default_constructible<allocator_type>::value &&
|
is_nothrow_default_constructible<allocator_type>::value &&
|
||||||
is_nothrow_default_constructible<key_compare>::value &&
|
|
||||||
is_nothrow_copy_constructible<key_compare>::value)
|
is_nothrow_copy_constructible<key_compare>::value)
|
||||||
: __tree_(__comp) {}
|
: __tree_(__comp) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user