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. Co-Authored-By: Nathan Myers <ncm@cantrip.org> From-SVN: r99933
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algorithm | Loading commit data... | |
array_allocator.h | Loading commit data... | |
bitmap_allocator.h | Loading commit data... | |
codecvt_specializations.h | Loading commit data... | |
debug_allocator.h | Loading commit data... | |
functional | Loading commit data... | |
hash_fun.h | Loading commit data... | |
hash_map | Loading commit data... | |
hash_set | Loading commit data... | |
hashtable.h | Loading commit data... | |
iterator | Loading commit data... | |
malloc_allocator.h | Loading commit data... | |
memory | Loading commit data... | |
mt_allocator.h | Loading commit data... | |
new_allocator.h | Loading commit data... | |
numeric | Loading commit data... | |
pod_char_traits.h | Loading commit data... | |
pool_allocator.h | Loading commit data... | |
rb_tree | Loading commit data... | |
rope | Loading commit data... | |
ropeimpl.h | Loading commit data... | |
slist | Loading commit data... | |
stdio_filebuf.h | Loading commit data... | |
stdio_sync_filebuf.h | Loading commit data... |