[Bug libstdc++/23528] [3.4 Regression] Wrong default allocator in ext/hash_map

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Tue Aug 23 14:16:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list