@property - take it behind the woodshed and shoot it?

Jacob Carlborg doob at me.com
Fri Jan 25 05:52:36 PST 2013


On 2013-01-25 14:26, mist wrote:

> Hm, shouldn't it be processed like that:
> 1) evaluate "f = 3", setter called
> 2) evaluate "(f = 3)" -> evaluate "f" -> getter called
> 3) evaluate "auto i = ", setter called
> ?

Yes, but why would a setter be called at step 3?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list