This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 13:55:12 -0000
- Subject: [Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map
- References: <20050823115827.23528.mattias.ellert@tsl.uu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-08-23 13:55 -------
It looks like the problem has been fixed in revision 1.6 of hashtable.h.
Mattias, can you experiment a bit with just changing in class hashtable:
typedef _Alloc allocator_type;
to
typedef typename _Alloc::template rebind<value_type>::other allocator_type;
(likely, you have available code using hash_map much more complex than I do)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23528