streambuf.tcc (basic_streambuf::xsgetn): Const-ify some variables.

2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/streambuf.tcc (basic_streambuf::xsgetn):
	Const-ify some variables.
	(basic_streambuf::xsputn): Likewise; change the type of some
	variables to size_t.
	(__copy_streambufs): Change some variables to size_t.

2003-05-01  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_sstream.h (str()): Avoid constructing
	a basic_string temporary not only when it would turn out
	to be zero-sized but also when identical to the current
	_M_string buffer.

From-SVN: r66334
This commit is contained in:
Paolo Carlini 2003-05-01 18:45:50 +02:00 committed by Paolo Carlini
parent d479d37f5e
commit 397751aef0
3 changed files with 33 additions and 21 deletions