Boost logo

Boost :

Subject: Re: [boost] Rave for proposed Boost.Local (functions)
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2011-02-06 10:47:23

On Sun, Feb 6, 2011 at 10:18 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> On 05/02/2011 18:20, Lorenzo Caminiti wrote:
>> What does "polymorphic" mean in this context? (I think it means that
>> the local functions cannot be template functions... right?)
> It refers to parametric polymorphism, which is indeed obtained through the
> use of templates in C++.

And yes, as you mentioned, Boo.Local local functions (and also C++0x
lambdas) unfortunately cannot have template parameters (because they
are implemented using local classes -- this limitation is spelled out
in the library docs with also a Rationale note).


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