Common V3 coding bug

Nathan Myers ncm@nospam.cantrip.org
Wed Jul 18 19:42:00 GMT 2001


On Thu, Jul 19, 2001 at 03:19:25AM +0200, Gabriel Dos Reis wrote:
> Phil Edwards <pedwards@disaster.jaj.com> writes:
> 
> | > using base::member;
> | > 
> | > seems fine by me.
> | 
> | Should we (read, "not me" :-) start converting other code to use this form,
> | for continuity?
> 
> I would prefer the "this->member" form.

Yes, it's too easy to introduce new mistakes with the "using"
approach.  When "this->" appears everywhere, uses without it
stand out.  (Worst case is mixing them.)

Nathan Myers
ncm at cantrip dot org.



More information about the Libstdc++ mailing list