Determine type of property

NX via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 2 11:04:09 PST 2016


On Tuesday, 2 February 2016 at 03:36:25 UTC, Steven Schveighoffer 
wrote:
> int y() { return 1;}

No need for meta-programming hackery, mark it as @property:

int y() @property { return 1;}



More information about the Digitalmars-d-learn mailing list