[Development] RFC: lambda or lambda return from lambda?
Thiago Macieira
thiago.macieira at intel.com
Mon Feb 1 17:06:51 CET 2016
On Monday 01 February 2016 11:08:54 Marc Mutz wrote:
> One way to have this with lambdas is to write a lambda that returns a
> lambda. We can do this, because auto return type deduction works for
> lambdas already in C++11, unlike for normal functions. With this, the above
> would become (hold tight):
>
> auto firstEquals = [](const auto &name) {
Does parameter auto detection work in C++11?
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list