2004-01-28 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (bits_headers): Remove allocator_traits.h. * include/Makefile.in: Regenerate. * include/bits/allocator_traits.h: Remove. * include/bits/allocator.h: Remove allocator_traits.h include, and relevant comments. (allocator): Empty base class, inherit from the underlying allocator. * src/allocator-inst.cc: Move __pool_alloc instantiation to... * src/allocator.cc: ...here. New. For the underlying allocators. Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. * config/linker-map.gnu: Remove __pool_alloc bits. * src/Makefile.am (sources): Add allocator.cc. * src/Makefile.in: Regenerate. * testsuite/20_util/allocator/1.cc: Split second test into... * testsuite/20_util/allocator/8230.cc: ...this. * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector typedef to use std::allocatore. Format. * include/ext/pool_allocator.h: Remove allocator_traits.h include, _Alloc_traits. * include/ext/mt_allocator.h (__gnu_cxx): Qualify __throw_bad_alloc calls. Don't include <memory>. * include/ext/malloc_allocator.h: Remove <memory> include. * include/ext/new_allocator.h (new_allocator): Same. * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using declaration. Switch __alloc to _Alloc. * include/ext/hashtable.h: Remove __alloc. * include/backward/alloc.h: Only inject allocator, not implementation details. * include/ext/mt_allocator.h: Replace free with delete. From-SVN: r76821
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algo.h | Loading commit data... | |
algobase.h | Loading commit data... | |
alloc.h | Loading commit data... | |
backward_warning.h | Loading commit data... | |
bvector.h | Loading commit data... | |
complex.h | Loading commit data... | |
defalloc.h | Loading commit data... | |
deque.h | Loading commit data... | |
fstream.h | Loading commit data... | |
function.h | Loading commit data... | |
hash_map.h | Loading commit data... | |
hash_set.h | Loading commit data... | |
hashtable.h | Loading commit data... | |
heap.h | Loading commit data... | |
iomanip.h | Loading commit data... | |
iostream.h | Loading commit data... | |
istream.h | Loading commit data... | |
iterator.h | Loading commit data... | |
list.h | Loading commit data... | |
map.h | Loading commit data... | |
multimap.h | Loading commit data... | |
multiset.h | Loading commit data... | |
new.h | Loading commit data... | |
ostream.h | Loading commit data... | |
pair.h | Loading commit data... | |
queue.h | Loading commit data... | |
rope.h | Loading commit data... | |
set.h | Loading commit data... | |
slist.h | Loading commit data... | |
stack.h | Loading commit data... | |
stream.h | Loading commit data... | |
streambuf.h | Loading commit data... | |
strstream | Loading commit data... | |
tempbuf.h | Loading commit data... | |
tree.h | Loading commit data... | |
vector.h | Loading commit data... |