https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124338
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppalka at gcc dot gnu.org
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Basically the generic lambda version of PR86697. decltype(x) should compute the
right type though, so a workaround is to replace 'x' with
'std::declval<decltype(x)>()'.
