Common V3 coding bug
Nathan Myers
ncm@nospam.cantrip.org
Wed Jul 18 09:33:00 GMT 2001
On Wed, Jul 18, 2001 at 02:50:01PM +0100, Jason Merrill wrote:
> >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
> > Hmm, I'm not positive about warning in that case.
>
> I am. People expect to get the version from their base class--thus the
> broken code in v3, which was written by experts.
This is why in *all* template code, *all* member references
should be qualified, either with "this->" or with "T::".
Nathan Myers
ncm at cantrip dot org
More information about the Libstdc++
mailing list