@property - take it behind the woodshed and shoot it?
Zach the Mystic
reachBUTMINUSTHISzach at gOOGLYmail.com
Sat Jan 26 21:32:23 PST 2013
On Sunday, 27 January 2013 at 02:54:55 UTC, Adam D. Ruppe wrote:
> It would be cool if we could declare variables with anonymous
> types;
>
> struct { opAssign() {} } foo;
This would be much easier to understand:
alias foo struct { opAssign() {} };
Is "singleton structures", a.k.a. properties, a good name for
these?
More information about the Digitalmars-d
mailing list