std_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move...
authorPaolo Carlini <pcarlini@unitus.it>
Mon, 28 Apr 2003 23:51:37 +0000 (01:51 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 28 Apr 2003 23:51:37 +0000 (23:51 +0000)
commit479a181108ee58622576b205b86793d42e964cbc
treefbd272a94e796d94fc7e968571ef340f15f122c6
parent988ad90d003221abfb91157ef289f702b055a8fd
std_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move it there.

2003-04-28  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (_M_buf): is currently
used only for basic_filebuf, therefore move it there.
(basic_streambuf(), ~basic_streambuf()): Adjust.
* include/std/std_fstream.h (_M_buf): Moved here.
* include/std/std_sstream.h (setbuf): Don't set _M_buf,
is actually redundant for basic_stringbuf.
(_M_really_sync): Likewise.
* include/bits/fstream.tcc (basic_filebuf()): Adjust.
* include/bits/sstream.tcc (seekoff): Adjust.

From-SVN: r66193
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/bits/sstream.tcc
libstdc++-v3/include/std/std_fstream.h
libstdc++-v3/include/std/std_sstream.h
libstdc++-v3/include/std/std_streambuf.h