This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_ios::exceptions(iostate) patch
- To: libstdc++-v3@cygnus.com
- Subject: Re: basic_ios::exceptions(iostate) patch
- From: Nathan Myers <ncm@best.com>
- Date: Tue, 26 Jan 1999 15:10:15 -0800 (PST)
Benjamin wrote:
> On Tue, 26 Jan 1999, Ryszard Kabatek wrote:
> > BTW The ios_base::exceptions member functions are public,
> > perhaps they should be made protected?
>
> ... do only derived classes call the exceptions member functions?
Actually in ios_base it should be called _M_exceptions(). We could add
an inline public member exceptions() that calls _M_exceptions(), but it
would need to be guarded with a CPP "GNU extensions" flag.
We need to assign a name for such a flag, or several, and wrap all
the non-standard extensions (e.g. the STL stuff not in ext/).
Nathan Myers
ncm@cantrip.org