gcc/libstdc++-v3/include
Paolo Carlini 1b170b5562 Nathan C.
2003-06-22  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan C. Myers  <ncm-nospam@cantrip.org>

	* include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
	is now used only for filebuf, when _M_buf_unified is true.
	epgtr() plays the role of _M_out_lim but it's only updated
	upon overflow, underflow, uflow, seekoff/pos.
	* include/bits/sstream.tcc (_M_underflow): New, implements
	stringbuf::underflow and uflow.
	(seekoff, seekpos): Tweak, use  _M_update_egptr.
	* include/std/std_sstream.h (str): Rewrote, deal correctly
	with the new logic, in particular, when pptr() > egptr().
	(_M_sync): When __testout && !__testin set all the get area
	pointers to the current string end.
	(_M_update_egptr): New, internal function updating egptr()
	to the actual string end.
	(_M_underflow): New, declare.
	(underflow): Dispatch to _M_underflow(false).
	(uflow): Dispatch to _M_underflow(true).

	* include/bits/sstream.tcc (pbackfail, overflow, seekoff,
	seekpos): Use only the documented derivation interface to
	basic_streambuf (gptr(), setg(), etc.) to work right with
	user specializations.
	* include/std/std_sstream.h (str, _M_sync): Likewise.

From-SVN: r68347
2003-06-22 18:37:10 +00:00
..
backward [multiple changes] 2003-06-11 15:52:11 +00:00
bits Nathan C. 2003-06-22 18:37:10 +00:00
c
c_compatibility
c_std
ext allocator-inst.cc: Explicitly instantiate. 2003-06-13 05:45:57 +00:00
std Nathan C. 2003-06-22 18:37:10 +00:00
Makefile.am [multiple changes] 2003-06-11 15:52:11 +00:00
Makefile.in acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. 2003-06-12 03:24:16 +00:00
stdc++.h