Something like ADL from C++?
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Dec 4 02:46:31 UTC 2024
On 04/12/2024 3:32 PM, Timon Gehr wrote:
> I had this implemented as the |__local| storage class, but I did not
> include it in the DIP proposal to avoid bikeshedding over syntax
> delaying the entire |static foreach| implementation:
I'm trying to come up with alternative syntax.
Everything so far, a scope guard, an attribute, everything is coming up
as having worse trade offs.
It may not feel right, but it has pretty good trade offs I think.
But yeah I'd quite like having this.
More information about the Digitalmars-d
mailing list