rope (rope(_CharT, const allocator_type&)): Fix to use _Data_allocate.
authorPaolo Carlini <pcarlini@suse.de>
Wed, 16 Jun 2004 17:29:16 +0000 (17:29 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 16 Jun 2004 17:29:16 +0000 (17:29 +0000)
commite751adc3b1b146663267485a2dcf1ebe239a5c3d
tree3379c4371d291388f9724f236f62f45c7e6b39fc
parent5d44aeed9a79c8a149af3c5c22b697ac0beea203
rope (rope(_CharT, const allocator_type&)): Fix to use _Data_allocate.

2004-06-16  Paolo Carlini  <pcarlini@suse.de>

* include/ext/rope (rope(_CharT, const allocator_type&)): Fix
to use _Data_allocate.
* include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
(rope<>::c_str()): Likewise.
(rope<>::replace_with_c_str()): Likewise.

* include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
not _RopeRep.
(_Rope_iterator_base<>::_S_setcache): Likewise.
(_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::_S_dump): Likewise.
(rope<>::_S_fetch_ptr): Likewise.
(rope<>::_S_compare): Likewise.
(rope<>::replace_with_c_str()): Likewise.

* testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
* testsuite/ext/rope/2.cc: New.

2004-06-16  Paolo Carlini  <pcarlini@suse.de>
    Matt Austern  <austern@apple.com>

* testsuite/ext/rope/3.cc: New.

Co-Authored-By: Matt Austern <austern@apple.com>
From-SVN: r83251
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/rope
libstdc++-v3/include/ext/ropeimpl.h
libstdc++-v3/testsuite/ext/rope.cc [deleted file]
libstdc++-v3/testsuite/ext/rope/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/rope/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/rope/3.cc [new file with mode: 0644]