basic_ios.tcc (basic_ios::init): Set _M_fill to zero.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 27 Feb 2002 01:01:59 +0000 (01:01 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 27 Feb 2002 01:01:59 +0000 (01:01 +0000)
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

libstdc++-v3/ChangeLog

index b2e5216c8ab692339d523e31e166a42c5d2d8a7b..d07ec0be04c0939cd508f31fc77c08b8aecad012 100644 (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.