For me I would mostly be interested in the const case.
Example in an awkward initialization scenario, where a variable should be const (for const hygiene) but can't because of conditions.
But I can also see full erasure being useful in the case of scopes locks if you need them to exist but should not be messed with unless by trivial behavior when going out of scope.
Although I have to admit that the full erasure has little applications.


From: Std-Proposals <std-proposals-bounces@lists.isocpp.org> on behalf of Udo Steinbach via Std-Proposals <std-proposals@lists.isocpp.org>
Sent: Wednesday, 12 August 2026 15:51:54
To: std-proposals@lists.isocpp.org <std-proposals@lists.isocpp.org>
Cc: Udo Steinbach <usenet@udoline.de>
Subject: Re: [std-proposals] A new C++ keyword: forget
 
Again: Benefit?
I don't see an answer on the most important question.
--
Mit Radwegen lernte ich den Menschen kennen. http://radwege.udoline.de/
GPG: A245 F153 0636 6E34 E2F3  E1EB 817A B14D 3E7E 482E

--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals