* include/bits/demangle.h: Fix allocator type correctness, i.e. make sure that when we instantiate a container with a value type and an allocator, the allocator's value type matches the container's. * include/bits/stl_deque.h (_Deque_alloc_base): Eliminate. (_Deque_base): inherit directly from the deque's allocator. Use rebinding instead of _Alloc_traits. Pick up data members from _Deque_alloc_base. * include/bits/stl_list.h (_List_alloc_base): Eliminate. (_List_base): Inherit directly from the list's allocator. Use rebinding instead of _Alloc_traits. Pick up data members from _List_alloc_base. * include/bits/stl_vector.h (_Vector_alloc_base): Eliminate (_Vector_base): Inherit directly from the vector's allocator. Use rebinding instead of _Alloc_traits. Pick up data members from _Vector_alloc_base. * include/ext/hashtable.h: Fix allocator type correctness (the vector of buckets must be passed an allocator for objects of type _Node*). Use rebinding instead of _Alloc_traits. From-SVN: r74787
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algorithm | Loading commit data... | |
debug_allocator.h | Loading commit data... | |
enc_filebuf.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... |