https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 58894, which changed state.
Bug 58894 Summary: C++11 lambda doesn't take const variable by reference https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58894 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE