https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 83167, which changed state.
Bug 83167 Summary: decltype((x)) inside lambda is considered odr-use if x is not a reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83167 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED