This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Indentation fixes for stl_alloc.h
- From: Phil Edwards <phil at jaj dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 13:17:02 -0400
- Subject: Re: Indentation fixes for stl_alloc.h
- References: <200208210453.g7L4riI27179@fillmore.constant.com>
On Tue, Aug 20, 2002 at 09:53:44PM -0700, Benjamin Kosnik wrote:
>
> Wait. There might be some confusion WRT indenting member
> functions. See include/bits/basic_string.h if you are unsure.
>
> void
> _M_set_leaked()
> { _M_references = -1; }
Ah. C++STYLE says different. (Finally we discover the cause...) The
examples there are:
int
one_line() { return 0 }
int
two_lines(const char* arg)
{ return strchr(arg, 'a'); }
Phil
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002