gcc/libstdc++-v3/include/ext
Paolo Carlini f7ace77f1f sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class.
2006-01-04  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.

2006-01-04  Paolo Carlini  <pcarlini@suse.de>

	Implement Option 3 of DR 431 for all the containers.
	* include/bits/allocator.h (struct __alloc_swap): Add, swaps
	allocators, optimized to nothing in case they are empty.
	* include/bits/stl_deque.h (deque<>::swap): Use it.
	* include/bits/stl_list.h (list<>::swap): Likewise.
	* include/bits/stl_tree.h (_Rb_tree<>::swap): Likewise.
	* include/bits/stl_vector.h (vector<>::swap): Likewise.
	* include/tr1/hashtable (hashtable<>::swap): Likewise.
	* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap):
	Likewise.
	* include/ext/sso_string_base.h (__sso_string_base<>::_M_swap):
	Likewise.
	* include/ext/vstring_util.h (__vstring_utility<>::_Alloc_hider):
	Clean-up (now vstring uses the generic __alloc_swap facility).
	* include/tr1/unordered_map: Adjust includes.
	* include/tr1/unordered_set: Likewise.
	* docs/html/ext/howto.html: Add an entry for DR 431.
	* testsuite/23_containers/deque/modifiers/swap.cc: Move to...
	* testsuite/23_containers/deque/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/deque/modifiers/swap/2.cc: New.
	* testsuite/23_containers/deque/modifiers/swap/3.cc: New.
	* testsuite/23_containers/list/modifiers/swap.cc: Move to...
	* testsuite/23_containers/list/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/list/modifiers/swap/2.cc: New.
	* testsuite/23_containers/list/modifiers/swap/3.cc: New.
	* testsuite/23_containers/vector/modifiers/swap.cc: Move to...
	* testsuite/23_containers/vector/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/vector/modifiers/swap/2.cc: New.
	* testsuite/23_containers/vector/modifiers/swap/3.cc: New.
	* testsuite/23_containers/set/modifiers/swap.cc: Move to...
	* testsuite/23_containers/set/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/set/modifiers/swap/2.cc: New.
	* testsuite/23_containers/set/modifiers/swap/3.cc: New.
	* testsuite/23_containers/map/modifiers/swap.cc: Move to...
	* testsuite/23_containers/map/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/map/modifiers/swap/2.cc: New.
	* testsuite/23_containers/map/modifiers/swap/3.cc: New.
	* testsuite/23_containers/multiset/modifiers/swap.cc: Move to...
	* testsuite/23_containers/multiset/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/multiset/modifiers/swap/2.cc: New.
	* testsuite/23_containers/multiset/modifiers/swap/3.cc: New.
	* testsuite/23_containers/multimap/modifiers/swap.cc: Move to...
	* testsuite/23_containers/multimap/modifiers/swap/1.cc: ... here.		
	* testsuite/23_containers/multimap/modifiers/swap/2.cc: New.
	* testsuite/23_containers/multimap/modifiers/swap/3.cc: New.
	* testsuite/tr1/6_containers/unordered/swap/unordered_set/1.cc: New.	
	* testsuite/tr1/6_containers/unordered/swap/unordered_set/2.cc: New.
	* testsuite/tr1/6_containers/unordered/swap/unordered_map/1.cc: New.	
	* testsuite/tr1/6_containers/unordered/swap/unordered_map/2.cc: New.
	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/1.cc: New.	
	* testsuite/tr1/6_containers/unordered/swap/unordered_multiset/2.cc: New.
	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/1.cc: New.	
	* testsuite/tr1/6_containers/unordered/swap/unordered_multimap/2.cc: New.

From-SVN: r109324
2006-01-04 11:34:45 +00:00
..
pb_assoc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
algorithm c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
array_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
bitmap_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
codecvt_specializations.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
debug_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
functional c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
hash_fun.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
hash_map c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
hash_set c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
hashtable.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
iterator c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
malloc_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
memory c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
mt_allocator.h mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
new_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
numeric c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
pod_char_traits.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
pool_allocator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
rb_tree c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
rc_string_base.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
rope c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ropeimpl.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
slist c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
sso_string_base.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
stdio_filebuf.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stdio_sync_filebuf.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
typelist.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
vstring.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
vstring.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
vstring_fwd.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
vstring_util.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00