basic_ios.tcc (basic_ios::init): Set _M_fill to zero.

2002-02-26  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
	Adjust comment.
	* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
	(basic_ios::_M_fill_init): New.
	(basic_ios::fill()): Delay dealing with _M_fill.
	Adjust comment.
	* testsuite/27_io/ios_init.cc (test02): Adjust testcase.

From-SVN: r50077
This commit is contained in:
Benjamin Kosnik 2002-02-27 01:01:59 +00:00
parent ac39fabb8b
commit 3af7d37f67
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Adjust comment.
* include/bits/basic_ios.h (basic_ios::_M_fill): Make mutable.
(basic_ios::_M_fill_init): New.
(basic_ios::fill()): Deal with _M_fill lazily.
(basic_ios::fill()): Delay dealing with _M_fill.
Adjust comment.
* testsuite/27_io/ios_init.cc (test02): Adjust testcase.