Is there still any hope of getting polymorphic lambdas as well?
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std...@netlab.cs.rpi.edu]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
For C++0x? I doubt it. No doubt some implementations will offer them
as extensions and that will give us the implementation experience to
include them in a future version of C++.
Note that robinton.demon.co.uk addresses are no longer valid.
Yes please! IIRC, the major reason they were dropped is that it was
hard to define their semantics in a conceptualized function (mostly
because of lack of committee time). With concepts going out of the
standard, getting at least polymorphic lambdas back would make the
trade a bit more fair.
I was at Frankfurt meeting. After removal of concept from C++0x and in
Evolutionary working group
Herb Sutter mentioned, there is room for polymorphic lambdas.
Of course, I don't know the details of what are polymorphic lambdas.
-- Saeed Amrollahi
Getting polymorphic lambdas (and/or local templates) would be huge - I
know we're all down on concepts being yanked - but as a mostly non-
library writer, i hope i'm not ostracized for saying that i would
gladly take polymorphic lambdas over concepts in their current form :)
It would indeed be really appreciated.
How big would be the necessary work to put the initial proposal in a
good shape for an integration in C++0x ?
Implementation could possibly be done through the lambda-branch of
gcc. But I'm conscious it'd mean many people working on it -- thus
restricting the chances to realize it.