This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: ios_base patch (make some functions protected)


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



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