We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce08bc commit e08302eCopy full SHA for e08302e
test/common/throwing_allocator.hpp
@@ -20,7 +20,7 @@ class throwing_allocator {
20
friend class throwing_allocator;
21
22
template<typename Other>
23
- requires !std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>
+ requires (!std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>)
24
throwing_allocator(int, const throwing_allocator<Other> &other)
25
: allocator{other.allocator},
26
config{other.config} {}
0 commit comments