Topic: An implementation of Generic lambdas
Author: =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <daniel.kruegler@gmail.com>
Date: Sat, 12 Jan 2013 12:26:41 +0100
Raw View
2013/1/12 <andy.prowl@gmail.com>:
> I have a quick question concerning the standardization of generic lambdas. I
> am not sure if this is the place where to ask, so I apologize in advance if
> that is not the case.
>
> The current standard forbids declaring local types which contain template
> member functions. Clearly, generic lambdas will have to be an exception to
> this rule.
> My question is: will this restriction be lifted completely, or will generic
> lambdas be the only exception allowed?
Both issues exists, but there is a tendency to make these decisions
separate and uncoupled. This makes it easier to have a larger design
space. The overlap of both is well-known to the committee but it was
evaluated that lambda expressions *can* be made polymorphic with still
not allowing for general member templates within local types. This
doesn't mean that the constrain will not be lifted, but it will be
deferred to a different decision.
- Daniel
--
.