fstream.tcc: Add bool parameter to filebuf ctor.
authorBenjamin Kosnik <bkoz@redhat.com>
Wed, 4 Apr 2001 01:02:26 +0000 (01:02 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 4 Apr 2001 01:02:26 +0000 (01:02 +0000)
commit127644626f2d3fe441486566c2790a159f88654c
tree4edcf7a1442e75e1c8423db7adc2956cc77f6e87
parent56713d55f778623e3b67ff6335ea3015c6da98ef
fstream.tcc: Add bool parameter to filebuf ctor.

2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
* include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
_M_cerr, _M_wcout, _M_wcin, _M_wcerr.
(ios_base::Init::_S_ios_create): New.
(ios_base::Init::_S_ios_destroy): New.
* include/bits/std_fstream.h: Change ctor args.
* src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
(ios_base::Init::~Init): Use _S_ios_destroy.
(ios_base::sync_with_stdio): Use new members.
* testsuite/27_io/filebuf_members.cc: Fix calling conventions for
filebuf ctor.

From-SVN: r41072
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/include/bits/std_fstream.h
libstdc++-v3/src/ios.cc
libstdc++-v3/testsuite/27_io/filebuf_members.cc