This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: locale/file/style questions
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: locale/file/style questions
- From: Chip Salzenberg <chip@perlsupport.com>
- Date: Wed, 6 Jan 1999 20:25:49 -0500
- Cc: ncm@best.com, libstdc++-v3@cygnus.com
- References: <Pine.LNX.3.96.981218111650.5235A-100000@loony.cygnus.com>
{ sorry for delay -- I just found this message buried in a large mbox }
According to Benjamin Kosnik:
> 2) Have a style guide for comments, and ctor initialization
> lists. Also, think about putting type_defs at top of classes, data
> members next, then standard-conforming member functions, then
> extensions and depricated mf's at the end.
I suggest that everything public should be before everything private.
That way consumers can read from top down and stop when they see
that the rest of the class definition is private, thus of no concern.
--
Chip Salzenberg - a.k.a. - <chip@perlsupport.com>
"When do you work?" "Whenever I'm not busy."