[v3] libstdc++/16612
Benjamin Kosnik
bkoz@redhat.com
Fri Sep 24 21:08:00 GMT 2004
Ok, here we go again. I believe this to now be conformant. Hurray.
I'll wait 24 hrs for comments, and then check in a backport. (Which I
believe will be possible for 3.4/4.0).
-benjamin
tested x86/linux
2004-09-24 Benjamin Kosnik <bkoz@redhat.com>
Paolo Carlini <pcarlini@suse.de>
* testsuite/21_strings/basic_string/operations/char/1.cc: New.
* testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New.
* testsuite/21_strings/basic_string/element_access/char/empty.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc:
New.
2004-09-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16612
* include/bits/basic_string.h
(basic_string::_Rep::_S_empty_rep_storage): Don't use this to
represent the empty string.
(basic_string::_M_rep): Use static local for empty _Rep.
(basic_string::_Rep::_M_set_length): New, use it.
* include/bits/basic_string.tcc: Use it.
2004-09-24 Steve Horn <steve.horn@gs.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16612
* include/ext/shared_allocator.h: New.
* src/shared_allocator.cc: New.
* src/Makefile.am (sources): Add shared_allocator.cc.
* src/Makefile.in: Regenerate.
* include/Makefile.am (ext_headers): Add shared_allocator.h.
* include/Makefile.in: Regenerate.
* docs/html/20_util/allocator.html: Some cleanups, add
shared_allocator information, links.
* testsuite/ext/shared_allocator/shared_string-1.cc: New.
* testsuite/ext/shared_allocator/shared_string-2.cc: New.
* testsuite/ext/shared_allocator/shared_vector-1.cc: New.
* testsuite/ext/shared_allocator/shared_vector-2.cc: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20040924.bz2
Type: application/x-bzip2
Size: 11532 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040924/d0c47690/attachment.bz2>
More information about the Libstdc++
mailing list