This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r109955 - in /branches/gcc-4_1-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2006 12:04:31 -0000
- Subject: r109955 - in /branches/gcc-4_1-branch/libstdc++...
Author: paolo
Date: Thu Jan 19 12:04:31 2006
New Revision: 109955
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109955
Log:
2006-01-19 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_dataplus):
Use _CharT_alloc_type as base class.
(_M_get_allocator, _M_swap, _M_create, _M_destroy): Adjust.
* include/ext/vstring.h (get_allocator): Tidy.
* include/ext/vstring_util.h (struct __alloc_swap<>): Add, swaps
allocators, optimized to nothing in case they are empty.
(__vstring_utility<>::_Alloc_hider): Clean-up.
* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Call
__alloc_swap<>::_S_do_it.
* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap): Same.
Modified:
branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
branches/gcc-4_1-branch/libstdc++-v3/include/ext/rc_string_base.h
branches/gcc-4_1-branch/libstdc++-v3/include/ext/sso_string_base.h
branches/gcc-4_1-branch/libstdc++-v3/include/ext/vstring_util.h