[v3] libstdc++/1605 throw specs on exception, stdexcept classes
Mike Harrold
mharrold@cas.org
Wed Jan 17 03:29:00 GMT 2001
>
>
> Thought I might as well tighten up everything, not just exception::what().
> Minor formatting of exception, typeinfo to match v3 style.
[snip]
> ===================================================================
> RCS file: /cvs/gcc/egcs/libstdc++-v3/docs/html/17_intro/C++STYLE,v
> retrieving revision 1.3
> diff -c -p -r1.3 C++STYLE
> *** C++STYLE 2001/01/16 07:55:25 1.3
> --- C++STYLE 2001/01/17 07:41:38
> *************** Notable areas of divergence from what ma
> *** 99,106 ****
> 07. Member initialization lists
> All one line, separate from class name.
>
> ! gribble::gribble() :
> ! _M_private_data(0), _M_more_stuff(0), _M_helper(0);
> { }
> -NOT-
> gribble::gribble() : _M_private_data(0), _M_more_stuff(0), _M_helper(0);
> --- 99,106 ----
> 07. Member initialization lists
> All one line, separate from class name.
>
> ! gribble::gribble()
> ! : _M_private_data(0), _M_more_stuff(0), _M_helper(0);
^^^^ should this be here?
> { }
> -NOT-
> gribble::gribble() : _M_private_data(0), _M_more_stuff(0), _M_helper(0);
> Index: include/bits/ios_base.h
> ===================================================================
Regards,
/Mike
More information about the Gcc-patches
mailing list