https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24666 Bug 24666 depends on bug 102039, which changed state.
Bug 102039 Summary: another case of template function signature incorrectly dropping top-level cv-qualifier with function parameter dependent on template argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102039 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED