|
Boost : |
Subject: Re: [boost] Rave for proposed Boost.Local (functions)
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-02-04 18:43:59
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk