OSDN Git Service

2005-07-05 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2005 23:07:18 +0000 (23:07 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Jul 2005 23:07:18 +0000 (23:07 +0000)
commit37d42dd9bc3fceaaaed66f1dc9dabf8835bbbcab
tree81a5fd77bf0fb0e4cb75071bebe0f22365d736a4
parent6f2331d7c0dba193e6427b54d9cf1f4f8f17c099
2005-07-05  Paolo Carlini  <pcarlini@suse.de>

Add class __versa_string, a versatile "basic_string-type" class:
an additional, non-standard, template parameter allows to specify
the preferred base class. Two are provided: __rc_string_base,
which implements a behavior very similar to our standard string,
and __sso_string_base, not reference-counted and optimized for
short strings.
* include/ext/rc_string_base.h: New.
* include/ext/sso_string_base.h: Likewise.
* include/ext/vstring.h: Likewise.
* include/ext/vstring.tcc: Likewise.
* include/ext/vstring_fwd.h: Likewise.
* include/ext/vstring_util.h: Likewise.
* include/Makefile.am: Add.
* include/Makefile.in: Regenerate.
* testsuite/ext/vstring/explicit_instantiation/1.cc: New.
* testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise.
* testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise.
* testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise.

* Makefile.in: Regenerate with autotools 1.9.3 (to date, the version
officially used by v3).
* aclocal.m4: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101639 138bc75d-0d04-0410-961f-82ee72b054a4
20 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/Makefile.in
libstdc++-v3/aclocal.m4
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/ext/rc_string_base.h [new file with mode: 0644]
libstdc++-v3/include/ext/sso_string_base.h [new file with mode: 0644]
libstdc++-v3/include/ext/vstring.h [new file with mode: 0644]
libstdc++-v3/include/ext/vstring.tcc [new file with mode: 0644]
libstdc++-v3/include/ext/vstring_fwd.h [new file with mode: 0644]
libstdc++-v3/include/ext/vstring_util.h [new file with mode: 0644]
libstdc++-v3/libmath/Makefile.in
libstdc++-v3/libsupc++/Makefile.in
libstdc++-v3/po/Makefile.in
libstdc++-v3/src/Makefile.in
libstdc++-v3/testsuite/Makefile.in
libstdc++-v3/testsuite/ext/vstring/explicit_instantiation/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/vstring/explicit_instantiation/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/vstring/explicit_instantiation/char/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc [new file with mode: 0644]