[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression
vittorio.romeo at outlook dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 8 21:59:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226
--- Comment #17 from Vittorio Romeo <vittorio.romeo at outlook dot com> ---
Was the patch merged in trunk?
The following still fails to compile on 20180407
template <int... Is>
int foo()
{
([i = Is]{}(), ...);
return 0;
}
More information about the Gcc-bugs
mailing list