On Friday, 25 January 2013 at 13:18:47 UTC, Jacob Carlborg wrote:
On 2013-01-25 10:16, deadalnix wrote:

Assignation is right associative, so it is equivalent to :
auto i = (f = 3);

The setter is called.

That's what I'm saying, the setter needs to be able to return something and not just void.

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
?

Reply via email to