This is the mail archive of the
mailing list for the libstdc++ project.
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.
ncm at cantrip dot org