gcc/libstdc++-v3/include/ext
Paolo Carlini 7697e6c66a rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere.
2005-11-18  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
	anonymous struct extension, adjust everywhere.

	* include/ext/rc_string_base.h (__rc_string_base<>::_S_empty_rep()):
	Just use a static member.
	(__rc_string_base<>::__rc_string_base(), _S_construct): Adjust.

	* include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use anonymous
	union together with _CharT to fix alignment issues, rebind to _Rep and
	rename _Raw_alloc to _Rep_alloc_type.
	(__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.

	* include/ext/vstring_util.h (__is_null_p): Move inside struct
	__vstring_utility as static _S_is_null_pointer.
	* include/ext/sso_string.h
	(__sso_string_base<>::_M_construct(std::forward_iterator_tag): Adjust.
	* include/ext/rc_string_base.h
	(__rc_string_base<>::_S_construct(std::forward_iterator_tag): Likewise.

	Implement Option 3 of DR 431 for ext/vstring - both available bases.
	* include/bits/cpp_type_traits.h (struct __is_empty): Add.
	* include/ext/vstring.h (__versa_string<>::swap): Delegate to
	this->_M_swap.
	* include/ext/vstring.tcc (__versa_string<>::swap): Remove.
	* include/ext/vstring_util.h (struct __vstring_utility<>): Add struct
	_Alloc_hider<>, augmented of allocator swapping facility, specialized
	to nop for empty allocators.
	* include/ext/rc_string_base.h (__rc_string_base<>::_M_swap): Use it.
	(__rc_string_base<>::_M_is_leaked, _M_set_sharable): Change to private.
	* include/ext/sso_string_base.h	(__sso_string_base<>::_M_swap):
	Likewise.
	(__sso_string_base<>::_M_is_leaked, _M_set_sharable): Remove, unused.	

	* include/ext/rc_string_base.h (__rc_string_base<>::_M_data(_CharT*):
	Return void.
	* include/ext/sso_string_base.h (__sso_string_base<>::_M_data(_CharT*):
	Likewise.

From-SVN: r107176
2005-11-18 11:50:22 +00:00
..
pb_assoc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
algorithm All files: Update FSF address. 2005-08-17 02:28:44 +00:00
array_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
bitmap_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
codecvt_specializations.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
debug_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
functional All files: Update FSF address. 2005-08-17 02:28:44 +00:00
hash_fun.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
hash_map All files: Update FSF address. 2005-08-17 02:28:44 +00:00
hash_set All files: Update FSF address. 2005-08-17 02:28:44 +00:00
hashtable.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
iterator All files: Update FSF address. 2005-08-17 02:28:44 +00:00
malloc_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
memory All files: Update FSF address. 2005-08-17 02:28:44 +00:00
mt_allocator.h 2005-09-25 Benjamin Kosnik <bkoz@redhat.com> 2005-09-27 01:40:46 +00:00
new_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
numeric All files: Update FSF address. 2005-08-17 02:28:44 +00:00
pod_char_traits.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
pool_allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
rb_tree All files: Update FSF address. 2005-08-17 02:28:44 +00:00
rc_string_base.h rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00
rope All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ropeimpl.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
slist re PR libstdc++/23781 (Implicit conversion from NULL to list<T>::iterator) 2005-09-11 09:48:41 +00:00
sso_string_base.h rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00
stdio_filebuf.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stdio_sync_filebuf.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
typelist.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vstring_fwd.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vstring_util.h rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00
vstring.h rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00
vstring.tcc rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00