gcc/libstdc++-v3/include/bits
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
..
allocator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
atomicity.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
basic_ios.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
basic_ios.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
basic_string.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
basic_string.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
boost_concept_check.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c++config re PR libstdc++/22203 (std::numeric_limits<int>::traps is wrong on PPC) 2005-11-05 09:42:01 +00:00
char_traits.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
codecvt.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
concept_check.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
concurrence.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
cpp_type_traits.h rc_string_base.h (__rc_string_base<>::_Rep): Avoid the anonymous struct extension, adjust everywhere. 2005-11-18 11:50:22 +00:00
deque.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
fstream.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
functexcept.h libstdc++.exp (check_v3_target_debug_mode): Use exe as the executable extension. 2005-11-08 23:07:02 +00:00
gslice.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
gslice_array.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
indirect_array.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ios_base.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
istream.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
list.tcc re PR libstdc++/23781 (Implicit conversion from NULL to list<T>::iterator) 2005-09-11 09:48:41 +00:00
locale_classes.h re PR libstdc++/13583 (__use_cache not threadsafe) 2005-10-11 06:19:13 +00:00
locale_facets.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
locale_facets.tcc re PR libstdc++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
localefwd.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
mask_array.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ostream.tcc re PR libstdc++/23875 (operator<<(short) should not call operator<<(long), etc.) 2005-09-15 17:27:23 +00:00
postypes.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
slice_array.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
sstream.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_algo.h [multiple changes] 2005-09-12 21:13:04 +00:00
stl_algobase.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_bvector.h re PR libstdc++/23632 (std::vector<bool> in combination with debug mode fails to compile code) 2005-08-31 17:01:57 +00:00
stl_construct.h re PR libstdc++/23358 (_Destroy doesn't optimize for scalar types) 2005-08-23 10:40:14 +00:00
stl_deque.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_function.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_heap.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_iterator.h PR libstdc++/11729 (DR 280, [Ready]) 2005-10-05 15:49:39 +00:00
stl_iterator_base_funcs.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_iterator_base_types.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_list.h re PR libstdc++/23417 (bits/stl_tree.h isn't -Weffc++ clean) 2005-09-12 19:48:04 +00:00
stl_map.h stl_map.h (class map): ... 2005-08-29 16:50:52 +00:00
stl_multimap.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_multiset.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_numeric.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_pair.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_queue.h re PR libstdc++/18174 (documentation example for std::priority_queue usage) 2005-11-06 13:07:11 +00:00
stl_raw_storage_iter.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_relops.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_set.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_stack.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_tempbuf.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_tree.h PR libstdc++/23417 (cont) 2005-09-18 13:39:25 +00:00
stl_uninitialized.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stl_vector.h [multiple changes] 2005-11-02 10:27:54 +00:00
stream_iterator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
streambuf.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
streambuf_iterator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
stringfwd.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
valarray_after.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
valarray_array.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
valarray_array.tcc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
valarray_before.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
vector.tcc [multiple changes] 2005-11-02 10:27:54 +00:00