Silly struct behaviour

JN via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 13 11:45:45 PDT 2017


I know that's a wrong syntax, I was just showing an example.

Yes, here it will work, but if you want to initialize only some 
fields (poor man's keyword arguments), you can't use the default 
constructor.




More information about the Digitalmars-d-learn mailing list