]> git.ipfire.org Git - thirdparty/gcc.git/commit
streambuf.tcc (basic_streambuf::xsgetn): Const-ify some variables.
authorPaolo Carlini <pcarlini@unitus.it>
Thu, 1 May 2003 16:45:50 +0000 (18:45 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 1 May 2003 16:45:50 +0000 (16:45 +0000)
commit397751aef082a19ac18a698f3e210b3efebaf97c
tree3c3b6f2e8423ce1b289d77ffd81f4afe64cebcc4
parentd479d37f5ed3c67acedbf05dbf59ed9d6ac22567
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
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/streambuf.tcc
libstdc++-v3/include/std/std_sstream.h