container icon indicating copy to clipboard operation
container copied to clipboard

C++20 std::erase_if

Open mglisse opened this issue 2 years ago • 0 comments

C++20 added a uniform interface std::erase_if to remove some elements from a container, with overloads for all the standard containers. I believe it would be useful to implement this for the containers in Boost. My only doubt is whether the overloads should be in namespace std or in the namespace of the container (probably the second, at least that's what the original WG21 paper suggested and what Boost.Unordered did).

mglisse avatar Oct 07 '23 09:10 mglisse