Please support shorter constructor init

Nick Treleaven nick at geany.org
Wed Jul 12 10:45:27 UTC 2023


On Sunday, 9 July 2023 at 17:32:20 UTC, IchorDev wrote:
>> That doesn't allow fields to be dynamically initialized 
>> automatically, like constructors do.
>>
>
> https://dlang.org/spec/struct.html#dynamic_struct_init
> Is this not... "automatic"?

It's dynamic, but it's not automatic.


More information about the Digitalmars-d mailing list