This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: another small thing
- To: lfarkas at mindmaker dot hu
- Subject: Re: another small thing
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 17 Aug 2000 14:34:44 -0400
- Cc: libstdc++ at sources dot redhat dot com
> 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