DIP66 - Multiple alias this
Carl Sturtivant
sturtivant at gmail.com
Thu Aug 5 16:02:38 UTC 2021
On Thursday, 1 October 2020 at 00:40:05 UTC, Mike wrote:
> To be more precise, you don't actually have to deprecated alias
> this for classes. You could keep singular alias this for
> classes and then add multiple alias this for structs. That may
> satisfy the "add, don't change" crowd, while still giving users
> the struct composition features that D currently lacks.
Yes, an extension for structs only seems like a good way to avoid
adding edge cases.
Here's a suggestion.
https://forum.dlang.org/thread/uniyvmvjopeyyxmphfso@forum.dlang.org
More information about the Digitalmars-d
mailing list