gcc/libstdc++-v3/include/ext
Paolo Carlini 6be8b52474 revert: re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep)
2005-05-28  Paolo Carlini  <pcarlini@suse.de>

	Revert:
	2005-05-18  Paolo Carlini  <pcarlini@suse.de>
		    Nathan Myers  <ncm@cantrip.org>

	PR libstdc++/19495
	* include/bits/basic_string.h (_Raw_bytes_alloc): Rebind to
	size_type instead of char and rename to _Raw_alloc.
	* include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
	Use the above.
	* src/bitmap_allocator.cc: Add instantiation for size_type.
	* src/mt_allocator.cc: Likewise.
	* src/pool_allocator.cc: Likewise.
	* include/ext/array_allocator.h: Tweak slightly, avoid assuming
	the existence of an _Array::begin() and size() members.
	* testsuite/ext/array_allocator/2.cc: Tweak to use an allocator
	of size_type, instead of char, thus avoiding problems with
	rebinds, not treated correctly by array_allocator.

From-SVN: r100304
2005-05-28 21:57:03 +00:00
..
algorithm doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
array_allocator.h revert: re PR libstdc++/19495 (basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep) 2005-05-28 21:57:03 +00:00
bitmap_allocator.h 2005-04-14 Benjamin Kosnik <bkoz@redhat.com> 2005-04-15 04:07:45 +00:00
codecvt_specializations.h acinclude.m4: Remove CCODECVT_H. 2005-01-07 19:34:46 +00:00
debug_allocator.h re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages) 2004-11-05 19:58:03 +00:00
functional doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hash_fun.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
hash_map re PR libstdc++/20534 (Erroneous #include of <cassert>) 2005-05-27 15:01:45 +00:00
hash_set re PR libstdc++/20534 (Erroneous #include of <cassert>) 2005-05-27 15:01:45 +00:00
hashtable.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
iterator doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
malloc_allocator.h * include/ext/malloc_allocator.h: Include cstdlib. 2004-12-04 16:25:18 -08:00
memory doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
mt_allocator.h PR libstdc++/21244 (cont) 2005-04-28 07:50:48 +00:00
new_allocator.h doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
numeric doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
pod_char_traits.h pod_char_traits.h (__gnu_cxx::character): Add char_type. 2005-04-15 02:06:26 +00:00
pool_allocator.h PR libstdc++/21244 (cont) 2005-04-28 07:50:48 +00:00
rb_tree doxygroups.cc: Add std::tr1 namespace. 2004-11-24 04:11:23 +00:00
rope PR libstdc++/21244 (cont) 2005-04-28 07:50:48 +00:00
ropeimpl.h PR libstdc++/21244 (cont) 2005-04-28 07:50:48 +00:00
slist cpp_type_traits.h: Add types to the structs thus making type_traits.h redundant... 2005-01-31 16:22:01 +00:00
stdio_filebuf.h locale_facets.h (isspace, [...]): Add doxygen markup. 2004-11-23 09:18:41 +00:00
stdio_sync_filebuf.h locale_facets.h (isspace, [...]): Add doxygen markup. 2004-11-23 09:18:41 +00:00