https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 119631, which changed state.
Bug 119631 Summary: [rejects-valid] erroneous "was not declared in this scope" in partial specialization of nested class template for NSDMI https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119631 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE