[Qt-interest] tracking uniqueness

Andreas Pakulat apaku at gmx.de
Sat Apr 24 22:25:07 CEST 2010


On 24.04.10 10:14:20, Oliver Heins wrote:
> Andreas Pakulat <apaku at gmx.de> writes:
> 
> > The only way I can see to make this work is use a send in the id for Token
> > in its constructor, i.e.:
> >
> > Token( int id_ ) : id(id_) {}
> 
> You write »id_« -- with trailing underscore -- is this a kind of naming
> convention?

Yeap, thats a personal convention to make it easily visible which is the
member and which is the argument. No idea if somebody else uses this :)

Andreas

-- 
You have many friends and very few living enemies.



More information about the Qt-interest-old mailing list