Static Initialization of Structs syntax
Mike Parker
aldacron at gmail.com
Wed Jun 22 11:45:20 UTC 2022
On Wednesday, 22 June 2022 at 11:19:59 UTC, Antonio wrote:
>
> I see now: DIP 1033 will solve this (i.e., using named
> arguments in struct constructor... similar to how dart/flutter
> works)
That would be DIP 1030:
https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md
Max Haughton was working on an implementation of it, but ran into
trouble with template parameters, IIRC.
More information about the Digitalmars-d-learn
mailing list