This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Common V3 coding bug


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]