libstdc++-v3/ChangeLog:
* testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc:
Use allocator with the correct value type.
* testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc:
Likewise.
};
using type4 = std::unordered_multiset<int, std::hash<int>, std::equal_to<int>,
- not_noexcept_dflt_cons_alloc<std::pair<const int, int>>>;
+ not_noexcept_dflt_cons_alloc<int>>;
static_assert(!std::is_nothrow_default_constructible<type4>::value,
"not noexcept default constructible");
};
using type4 = std::unordered_set<int, std::hash<int>, std::equal_to<int>,
- not_noexcept_dflt_cons_alloc<std::pair<const int, int>>>;
+ not_noexcept_dflt_cons_alloc<int>>;
static_assert(!std::is_nothrow_default_constructible<type4>::value,
"not noexcept default constructible");