https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 71095, which changed state.
Bug 71095 Summary: Problem with captureless generic lambda and calling function object with arguments passed by reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71095 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE