https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 61814, which changed state.
Bug 61814 Summary: [c++1y] cannot use decltype on captured variable in generic lambda https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61814 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE