Questions about placement of qualifiers in member functions

Ian Lance Taylor ian@wasabisystems.com
Fri Dec 19 19:53:00 GMT 2003


"Giovanni Bajo" <giovannibajo@libero.it> writes:

> GCC is incorrectly accepting the first line. It should whine about the
> spourious const but it does not, and silently ignores it.

Thanks for the explanation.  It now makes sense to me.

I filed PR c++/13542 about the missing error.

Ian



More information about the Gcc mailing list