function types syntax
Peter Levart
peter.levart at marand.si
Tue Jan 5 06:43:16 PST 2010
On Tuesday 05 January 2010 15:14:19 Rémi Forax wrote:
> > I'm wondering if the leading '#' is necessary. Would it be ambiguous to leave it out?
>
> I think there is a problem with the cast and parenthesis between
> expression :
> (A())
> can be read as a cast to a function that returns a A or as a call to
> function A
> between parenthesis.
>
But the cast can not appear by itself where expression (parenthesized function call) is expected?
Peter
More information about the lambda-dev
mailing list