
5 Feb
2011
5 Feb
'11
9:51 a.m.
Le 05/02/2011 00:43, Mathias Gaunard a écrit :
On 04/02/2011 23:04, Loïc Joly wrote:
Le 04/02/2011 16:12, Mathias Gaunard a écrit :
All of this still needs to happen at namespace scope. The problem with declaring those things at namespace scope is that they necessarily become far away from the lambda function you want to write.
AFAIK, this will no longer be true with C++1x, and already false with some compilers.
I believe you are wrongly informed. What C++0x allows is for local and unnamed types to be used as template arguments, which is unrelated. A local class still can't have a template member function.
Ah, this is what I had in mind... Thank you for correcting me, I knew I was missing something, but did not know what... -- Loïc