
6 Feb
2011
6 Feb
'11
3:47 p.m.
On Sun, Feb 6, 2011 at 10:18 AM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> 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). -- Lorenzo