Why are there Properties in D?
Timon Gehr
timon.gehr at gmx.ch
Sun Feb 16 02:17:29 PST 2014
On 02/16/2014 02:21 AM, "Casper Færgemand" <shorttail at gmail.com>" wrote:
> Does @property force you to call the function without parens?
It is supposed to, but no.
> If not I don't really see what the keyword actually does.
There's a variety of ideas what it should do:
http://wiki.dlang.org/DIP21
http://wiki.dlang.org/DIP23
http://wiki.dlang.org/DIP24
(DIP21 is basically a subset of 'DIP24/@property: basic design'.)
More information about the Digitalmars-d
mailing list