appendable alias squence
Nick Treleaven
nick at geany.org
Tue Feb 1 15:30:17 UTC 2022
On Tuesday, 1 February 2022 at 01:39:19 UTC, monkyyy wrote:
> https://monkyyy.science/posts/mutable_templates/
I only skimmed the article as I'm AFK, but:
> I hate verbose folds, I hate this syntax, I hate that the
> pieces are in a different order then for loops; but its how to
> do heavy lifting in templates.
Perhaps alias assign would help? It might actually be related to
why the `foo=foo_!(data);` bug 'works'.
https://dlang.org/spec/declaration.html#AliasAssign
More information about the Digitalmars-d
mailing list