@property

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 8 08:54:57 PST 2016


On Thursday, 8 December 2016 at 16:53:13 UTC, Satoshi wrote:
> is there any advantage of marking function as @property??

Not really. I think it just changes the meaning of 
typeof(thatfunc) but otherwise it does nothing.

However, if you use it in a base class, you must also use it when 
overriding the function.


More information about the Digitalmars-d-learn mailing list