This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_ios::exceptions(iostate) patch
- To: kabatek@Chemie.UNI-Halle.DE
- Subject: Re: basic_ios::exceptions(iostate) patch
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Fri, 29 Jan 1999 11:51:31 -0800 (pst)
- cc: Nathan Myers <ncm@best.com>, libstdc++-v3@cygnus.com
> Currently there are no _M_exceptions() member functions in ios_base.
> There are some non-standard public member functions in ios_base.
> iostate rdstate() const;
> void clear(iostate);
> iostate exceptions () const;
> void exceptions(iostate);
> It would be better to make all them protected.
> I think it is not necessary to have this extensions.
I would say that at the very least, these functions should be mangled. Ie,
the _M_ prefix should be appended, transforming
iostate rdstate() const;
to
iostate _M_rdstate() const;
Your other suggestion is to make them protected. I would also be
interested in a patch that does that.
-Benjamin