On wtorek 01 kwiecień 2003 09:29 am, Angus Leeming wrote:
> Kuba Ober wrote:
> > I guess that for all practical matters it's all about whether one wants
> > to refer to member variables as
> >
> > m_emergencyExit // m_ prepended
> >
> > or as
> >
> > this->emergencyExit
> >
> > I guess getting rid of m_blah pollution (in case of my own code, at
> > least) from the class declaration might be useful. But then this-> vs m_
> > is four more keystrokes. Might not make any real-life difference, though.

> Not onyl best practice, but mandatory.  I post here again, because I was
> too fast and I stated that 14.6.2 paragraph 4 applies here (making that
> this-> needed) but in fact it is paragraph 3:

Oh, okay, per standard this is mandatory when template-parametrized base class 
is used. So, for other uses, we can still do whatever we used to ;-)

Cheers, Kuba Ober

Reply via email to