http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60033
--- Comment #5 from Adam Butcher <abutcher at gcc dot gnu.org> ---
Turns out that the above breaks the generic lambda variadic testcase:
auto vglambda = [](auto printer) {
return [=](auto&& ... ts) { // OK: ts is a function parameter pack
printer(std::forward<decltype(ts)>(ts)...);
return [=]() {
printer(ts ...);
};
};
};
So not there yet. Maybe using 'current_function' is wrong?
