Prev: basic_string CoW concurrency: typo in N2668, or very subtle point?
Next: basic_string CoW concurrency: typo in N2668, or very subtle point?
From: Andy Venikov on 10 Jul 2010 03:58 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 11 Jul 2010 04:38
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! ] |