[Bug c++/95434] ICE for CTAD in generic lambda within variadic lambda
johelegp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat May 30 05:41:36 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95434
Johel Ernesto Guerrero Peña <johelegp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |johelegp at gmail dot com
--- Comment #1 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
Perhaps it's related to the following snippet that errors. I don't see why it
shouldn't work. Should I open a separate bug report on this?
```C++
template <template <class> class... Ts>
void g()
{
(..., Ts{0}); // error: operand of fold expression has no unexpanded
parameter packs
}
```
More information about the Gcc-bugs
mailing list