On 2012-11-19 06:52:11 +0000, Andrei Alexandrescu <[email protected]> said:

On 11/19/12 1:02 AM, Rob T wrote:
So what's up with @property?

It's a mistake on top of another. We need to redesign it to such that the keyword '@property' is only required in cases that otherwise would be ambiguous (functions returning functions).

…or functions returning a type with an opCall.

What about template functions with a parametrized return type that will sometime be ambiguous and sometime not depending on the template parameters?

--
Michel Fortin
[email protected]
http://michelf.ca/

Reply via email to