Struct Initialization syntax

Cym13 cpicard at openmailbox.org
Mon Jul 23 17:24:51 UTC 2018


On Monday, 23 July 2018 at 17:10:08 UTC, Cym13 wrote:
> PS: Now that I think about it, would something like S{c:3}("a") 
> be allowed to say “Call the constructor with the string "a" as 
> argument on the struct of type S initialized with c=3”? I may 
> have missed it but I don't think that's addressed by the DIP.

I took that last point to GH, no need to discuss it here.


More information about the Digitalmars-d mailing list