https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 95368, which changed state.
Bug 95368 Summary: gcc things that a lambda capture is both const and mutable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95368 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE