[PATCH, libstdc++] Uniform container erasure for c++20.

Ed Smith-Rowland 3dw4rd@verizon.net
Wed Nov 28 17:22:00 GMT 2018


> Holy crap.  i just noticed that *set/*map don't have plain erase() 
> only erase_if()!
>
> I need to implement final: 
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1209r0.html 
> before I do anything.  Both for experimental and std.
>
> Ed
>
Never mind, This last paper *doesn't* have erase(value_type) for these 
containers.  They were stricken from n4161.htm UCE R1.  I guess KeyTp == 
ValTp could be confusing.  I guess erase_key could be a thing later.  
It's too late for erase() -> erase_value().

False alarm.




More information about the Libstdc++ mailing list