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: Indentation fixes for stl_alloc.h


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


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