https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 102367, which changed state.
Bug 102367 Summary: types can be defined in lambdas in unevaluated expression (decltype/sizeof) in C++20 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102367 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE