This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]