https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116756
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot
gnu.org
Status|NEW |ASSIGNED
--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
A workaround is to give the lambda a deduced return type:
...
auto lambda = [this](auto& self, auto I) -> void {
...
