@property needed or not needed?
Michel Fortin
michel.fortin at michelf.ca
Mon Nov 19 09:30:21 PST 2012
On 2012-11-19 06:52:11 +0000, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> 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
michel.fortin at michelf.ca
http://michelf.ca/
More information about the Digitalmars-d
mailing list