https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61182
--- Comment #10 from pdaou...@aldebaran-robotics.com --- (In reply to Daniel Krügler from comment #9) > I don' think that this specialization can - according to the language - > remove const qualifiers of function types, because there is no > const-qualifier to remove. remove_const does not remove const from functions even in previous function of gcc and I do not expect it to do that. I expect it to give the same type, unchanged as it does with gcc < 4.9.