On 02/16/2014 02:21 AM, "Casper Færgemand" <[email protected]>" 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'.)

Reply via email to