Struct Initialization syntax

kinke noone at nowhere.com
Mon Jul 23 18:43:39 UTC 2018


On Monday, 23 July 2018 at 17:32:23 UTC, aliak wrote:
> Can we just consider that named struct init syntax *is* a 
> generated named constructor?
>
> If named arguments choose a different syntax then you have no 
> conflict. If they go with the same (i.e. option 2) then you 
> have seamless consistency.

+1. And hoping for the latter, seamless consistency.


More information about the Digitalmars-d mailing list