You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).The text was updated successfully, but these errors were encountered: