This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: ios_base patch (make some functions protected)
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: ios_base patch (make some functions protected)
- From: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
- Date: Tue, 2 Feb 1999 12:20:04 +0100 (CET)
- cc: libstdc++-v3@cygnus.com
- Reply-To: kabatek@Chemie.UNI-Halle.DE
On Mon, 1 Feb 1999, Benjamin Kosnik wrote:
>
> yup. . . this looks good and is now in.
>
> thanks,
> benjamin
>
There is a little problem with the updated CVS version of ios_base.h.
In my patch I made the renamed functions "protected".
In the CVS they are still "public".
Please move the keyword "public" below the function
iostate _M_exceptions () const.
...
protected:
void _M_dispose_callbacks();
void _M_init();
void _M_copy_base(ios_base& __rhs);
public:
iostate _M_rdstate() const { return _M_state; }
void _M_clear(iostate __state = goodbit);
iostate _M_exceptions () const
{ return _M_exceptions_data; }
void _M_exceptions(iostate __except)
{
_M_exceptions_data = __except;
this->_M_clear(_M_rdstate());
}
...
Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2487 Fax. +49 3461 46 2129