Indentation fixes for stl_alloc.h
Phil Edwards
phil@jaj.com
Wed Aug 21 10:17:00 GMT 2002
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
More information about the Libstdc++
mailing list