boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
96 stars 116 forks source link

C++20 std::erase_if #254

Open mglisse opened 9 months ago

mglisse commented 9 months ago

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).