This is the mail archive of the libstdc++@sources.redhat.com 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: another small thing



> anyway why do we use __ in local variable and parameter names ?

Well, the names follow the rules in C++STYLE, based on [lib.global.names],
but you knew that already.  As far as I've ever been able to tell, local
names don't /really/ have to be uglified, but A) it's good to get into
that style, just to not slip up, because it makes easier reading, and B)
those names are reserved for our use anyhow, best to be on the safe side.


My two cents,
Phil


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