gcc/libstdc++-v3/include/std
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
..
std_algorithm.h
std_bitset.h BUGS: Update from 2.90.8 snapshot. 2003-06-10 21:52:25 +00:00
std_complex.h re PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead of 0.) 2003-05-20 06:52:11 +00:00
std_deque.h [multiple changes] 2003-06-11 15:52:11 +00:00
std_fstream.h fstream.tcc (close): Clean up a bit. 2003-06-10 22:00:43 +00:00
std_functional.h
std_iomanip.h c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. 2003-02-13 21:39:03 +00:00
std_ios.h
std_iosfwd.h Revert include ordering. 2003-01-23 18:56:00 +00:00
std_iostream.h
std_istream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_iterator.h
std_limits.h Intro.3: Update with new (proper) names. 2003-02-26 00:02:16 +00:00
std_list.h [multiple changes] 2003-06-11 15:52:11 +00:00
std_locale.h locale_facets.h: Move non-facet classes requiring <string> to... 2003-01-22 16:51:52 +00:00
std_map.h
std_memory.h [multiple changes] 2003-06-11 15:52:11 +00:00
std_numeric.h
std_ostream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_queue.h [multiple changes] 2003-06-11 15:52:11 +00:00
std_set.h
std_sstream.h Nathan C. 2003-06-22 18:37:10 +00:00
std_stack.h [multiple changes] 2003-06-11 15:52:11 +00:00
std_stdexcept.h
std_streambuf.h Nathan C. 2003-06-22 18:37:10 +00:00
std_string.h
std_utility.h
std_valarray.h valarray_meta.h: Remove, split into ... 2003-01-24 16:32:11 +00:00
std_vector.h [multiple changes] 2003-06-11 15:52:11 +00:00