]> git.ipfire.org Git - thirdparty/gcc.git/commit
2003-05-01 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 May 2003 16:45:50 +0000 (16:45 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 May 2003 16:45:50 +0000 (16:45 +0000)
commit17d529f86d0435a2b5717681150a1417d1487d4a
tree3c3b6f2e8423ce1b289d77ffd81f4afe64cebcc4
parentfa70df70597245daf03e65e2b49bf9d0bdb6d3c0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66334 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/streambuf.tcc
libstdc++-v3/include/std/std_sstream.h