[Bug libstdc++/24064] tr1::unordered_map seems to seg-fault when caching hash values
chris at bubblescope dot net
gcc-bugzilla@gcc.gnu.org
Mon Sep 26 13:42:00 GMT 2005
------- Additional Comments From chris at bubblescope dot net 2005-09-26 13:42 -------
I'm not convinced that this is valid code.. unless I'm missing something, you are altering values inside the
hash table, which isn't allowed unless you change the values in such a way that their hashed value stays
the same. This is similar to the situation with (multi)map/(multi)set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24064
More information about the Gcc-bugs
mailing list