On 01/28/2013 06:22 AM, Steven Schveighoffer wrote:
...

I would be satisfied with Kenji's implementation.  As I understand it:

@property on a getter would mean implicit calling of the function.
@property on a setter would mean calling x = y as x(y).
@property functions could not be called like normal functions.
Parentheses are optional on normal no-arg functions when used as getters.
Normal single arg or variadic functions are NOT ALLOWED to be used as
setters.
...

This proposal unfortunately does not work too well because of UFCS.

Reply via email to