This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]