[Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 28 09:32:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Baykov Nikita from comment #0)
> 4. pptr() is a null pointer. Paragraphs [stringbuf.cons]/3,
> [streambuf.cons]/1, [stringbuf. members]/3 guarantee it.

That's no longer true, see PR 80676. It's still true in the libstdc++
implementation today though.


More information about the Gcc-bugs mailing list