Re: [PATCH][_GLIBCXX_DEBUG] Enhance std::erase_if for vector/deque

2021-12-08 Thread Jonathan Wakely via Gcc-patches
On Sun, 21 Nov 2021 at 11:26, François Dumont via Libstdc++ wrote: > > I tried to use the same approach I used for node based containers but > got ambiguity on erase calls. I think this simple version will do the work. > > libstdc++: [_GLIBCXX_DEBUG] Enhance std::erase_if for vector/deque > >

[PATCH][_GLIBCXX_DEBUG] Enhance std::erase_if for vector/deque

2021-11-21 Thread François Dumont via Gcc-patches
I tried to use the same approach I used for node based containers but got ambiguity on erase calls. I think this simple version will do the work.     libstdc++: [_GLIBCXX_DEBUG] Enhance std::erase_if for vector/deque     libstdc++-v3/ChangeLog:     * include/std/deque (erase_if): Use _