https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59002 Bug 59002 depends on bug 22149, which changed state.
Bug 22149 Summary: func pointer non-type template parm invalid access control https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22149 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED