[Bug c++/61312] variable function parameters declared as const in the class may not be declared as const in the function definition
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun May 25 22:46:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61312
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
Severity|major |normal
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Yes, that's how C++ works. Top-level const qualifiers are not part of a
function signature.
This is not a bug, definitely not one with "major" severity!
More information about the Gcc-bugs
mailing list