demangle.h: Fix allocator type correctness, i.e.
authorMatt Austern <austern@apple.com>
Thu, 18 Dec 2003 18:35:38 +0000 (18:35 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Thu, 18 Dec 2003 18:35:38 +0000 (18:35 +0000)
commit8a1d8dd9c8d5343b61154d5f0ee45e7e31342931
treed71e92d2f714303433e3e6f0e501859221810a08
parent38700ceee72fb7b538a291c7e69e0d86f08f8fba
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
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/demangle.h
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/include/bits/stl_list.h
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/include/ext/hashtable.h