Created on 2025-03-24.00:00:00 last changed 6 days ago
Proposed resolution:
This wording is relative to N5008.
Modify [hive.erasure] as indicated:
template<class T, class Allocator, class U = T> typename hive<T, Allocator>::size_type erase(hive<T, Allocator>& c, const U& value);-1- Effects: Equivalent to:
return erase_if(c, [&](const auto& elem) -> bool { return elem == value; });
[ Sofia 2025-06-21; Status changed: Voting → WP. ]
[ 2025-06-12; Reflector poll ]
Set status to Tentatively Ready after seven votes in favour during reflector poll.
This is a follow up to LWG 4135, which incidentally adds a default template
parameter for U
to be consistent with other erase
functions,
which is editorial since the declaration already has it.
History | |||
---|---|---|---|
Date | User | Action | Args |
2025-06-23 16:37:24 | admin | set | messages: + msg14858 |
2025-06-23 16:37:24 | admin | set | status: voting -> wp |
2025-06-12 20:59:27 | admin | set | status: ready -> voting |
2025-06-12 20:55:03 | admin | set | messages: + msg14800 |
2025-06-12 20:55:03 | admin | set | status: new -> ready |
2025-03-27 17:14:54 | admin | set | messages: + msg14704 |
2025-03-24 00:00:00 | admin | create |