From: Andy Venikov on
Several people on this group have expressed their dissatisfaction with
the current FCD's closures. Could these people elaborate on what they mean?

The only thing I can think of is that currently lambdas are not
polymorphic (i.e. can't templatize the lambda's parameters).
Also, someone on the group suggested that gcc has polymorphic lambda
extension. Doing a quick google, I only found a single reference to an
experimental gcc patch made by Adam Butcher, but nothing about whether
it's in the official gcc release.

Any comments are appreciated.

Thanks,
Andy.

--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

From: Mathias Gaunard on
On Jul 10, 7:58 pm, Andy Venikov <swojchelo...(a)gmail.com> wrote:

> The only thing I can think of is that currently lambdas are not
> polymorphic

That's the main disappointing thing with C++0x lambdas, yes.


> Also, someone on the group suggested that gcc has polymorphic lambda
> extension. Doing a quick google, I only found a single reference to an
> experimental gcc patch made by Adam Butcher, but nothing about whether
> it's in the official gcc release.

I clearly said it wasn't in any release, I said people had been
working on it.


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]