Anonymous structure
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Apr 17 21:06:19 PDT 2016
On Monday, 18 April 2016 at 03:57:26 UTC, Tofu Ninja wrote:
> x,y,and z seem to all be immutable and all have the UDA
> testUDA. But even odder, it seems that "struct" in there is
> doing absolutely nothing. The same thing can be done with
Yeah, any attribute can be grouped with braces or colons in D,
including user-defined ones.
More information about the Digitalmars-d-learn
mailing list