[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

ralfixx at gmx dot de gcc-bugzilla@gcc.gnu.org
Mon Jul 5 12:49:00 GMT 2004


------- Additional Comments From ralfixx at gmx dot de  2004-07-05 12:49 -------
(In reply to comment #0)
> Analysis: in 3.4.0 a default constructor for basic_istream() was added
> (include/.../istream, #562ff)
>     protected:
>       explicit 
>       basic_istream(): _M_gcount(streamsize(0)) { }
> 
> which leaves the iostream in an ill state.

The exact file name in the 3.4.1 distribution is 
  gcc-3.4.1/libstdc++-v3/include/std/std_istream.h, line 562 ff.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16251



More information about the Gcc-bugs mailing list