Boost logo

Boost :

Subject: Re: [boost] Rave for proposed Boost.Local (functions)
From: Loïc Joly (loic.actarus.joly_at_[hidden])
Date: 2011-02-05 04:51:00

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...


Boost list run by bdawes at, gregod at, cpdaniel at, john at