std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with...
authorPhil Edwards <pme@gcc.gnu.org>
Fri, 13 Jul 2001 20:50:03 +0000 (20:50 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Fri, 13 Jul 2001 20:50:03 +0000 (20:50 +0000)
commit48fe3de0c349df07154ae21fe8679f4fbf75cfb2
tree9e6bd6316733f859c1eb00974c8f19d617cb95f8
parent59387d2e310983bced3bf86cb759a1dbc1520277
std_sstream.h (basic_stringbuf::basic_stringbuf(string): Initialize _M_string with pointer-and-size constructor, not just pointer.

2001-07-13  Phil Edwards  <pme@sources.redhat.com>

* include/bits/std_sstream.h (basic_stringbuf::basic_stringbuf(string):
Initialize _M_string with pointer-and-size constructor, not just
pointer.  Fix some comments.
* testsuite/21_strings/ctor_copy_dtor.cc (test03):  New test.
* testsuite/27_io/stringbuf.cc (test02):  Remove unused variable.
(test03):  Add embedded-NUL tests.

* mkcheck.in:  When printing totals, match the order of the tests.
* include/bits/stringfwd.h:  Use same declaration keywords.
* include/bits/std_iosfwd.h:  Cosmetic spacing.

From-SVN: r43996
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_iosfwd.h
libstdc++-v3/include/bits/std_sstream.h
libstdc++-v3/include/bits/stringfwd.h
libstdc++-v3/mkcheck.in
libstdc++-v3/testsuite/21_strings/ctor_copy_dtor.cc
libstdc++-v3/testsuite/27_io/stringbuf.cc