This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: please stop messing with the indentation


On Wed, Aug 07, 2002 at 06:46:30PM -0700, Benjamin Kosnik wrote:
> 
> > I find the un-indented version pretty much unreadable.  
> FWIW, I also like the indentation. 
 
I vote for unindented namespace-level declarations, except
where namespace manipulations are the whole point (as in some 
forwarding headers).  Likewise for extern "C" blocks.  On the 
closing "}" for such a block, a comment // namespace std
or "// extern "C"  is called for.

Let's also add a notation about the emacs trick to the docs.

Nathan Myers
ncm at cantrip dot org


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