forked from boostorg/unordered
Specify clear as noexcept
This commit is contained in:
1 parent
85a834cf62
commit
9cd673c71d
3 files changed
+9
-8
No files matched your search
@@ -554,6 +554,7 @@ void unordered_test(X& x, Key& k, Hash& hf, Pred& eq)
|
||||
const_iterator q1 = a.cbegin(), q2 = a.cend();
|
||||
test::check_return_type<iterator>::equals(a.erase(q1, q2));
|
||||
|
||||
TEST_NOEXCEPT_EXPR(a.clear());
|
||||
a.clear();
|
||||
|
||||
X const b;
|
||||
|
||||
Reference in new issue
Block a user