Private data members

Vladimir Prus vladimir@codesourcery.com
Wed Jul 29 16:50:00 GMT 2009


On Wednesday 29 July 2009 Samuel Bronson wrote:

> At Wed, 29 Jul 2009 17:41:20 +0400,
> Vladimir Prus wrote:
> > 
> > Daniel Jacobowitz wrote:
> > >
> > > I don't think ignore_count_ is clear.
> > 
> > Well, it's a convention for naming private variables used by roughly
> > half of C++ developers, so I expect many current and future contributors
> > know it already.
> 
> Hmm. I'm only familiar with the _ignore_count convention that's used
> in e.g. Python (and sometimes in C, even though it's not really
> allowed in user code there).

That's why I've said "half". Though I actually expected the other
half to be familiar with the m_foo convention :-)

- Volodya



More information about the Gdb mailing list