Excellent. This now supports the variadic generic lambda from the spec
(albeit without the auto parameter pack)
auto vglambda = [](auto printer)
{
// TODO: return [=](auto&& ... ts) // OK: ts is a function
parameter pack
return [=] (T&& ... ts) // OK: ts is a function
par
This patch fixes one of the few remaining holes in GCC's C++11 support:
lambda capture of a variadic function parameter pack. The
implementation involves introducing the internal notion of a FIELD_DECL
pack, even though such a thing can not be written explicitly in C++11.
Tested x86_64-pc-lin