aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatt Austern <austern@apple.com>2003-12-18 18:35:38 +0000
committerMatt Austern <austern@gcc.gnu.org>2003-12-18 18:35:38 +0000
commit8a1d8dd9c8d5343b61154d5f0ee45e7e31342931 (patch)
treed71e92d2f714303433e3e6f0e501859221810a08 /gcc
parent38700ceee72fb7b538a291c7e69e0d86f08f8fba (diff)
downloadgcc-8a1d8dd9c8d5343b61154d5f0ee45e7e31342931.zip
gcc-8a1d8dd9c8d5343b61154d5f0ee45e7e31342931.tar.gz
gcc-8a1d8dd9c8d5343b61154d5f0ee45e7e31342931.tar.bz2
demangle.h: Fix allocator type correctness, i.e.
* 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
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions