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]

hash_map: odd behaviour


	Hi !

I _do_ need your help. I'm trying to use a hash_map and am facing the 
following problem:

	+ when adding a new item (I mean a _non-existing_ <key,value>-pair), 
	it seems that the new one erases the old: that would lead to a 
	hash_map whose size remains equal to 1.
 
	+ however monitoring the hash_map size, indicates that new items
	get added !

Did someone experience such problem ?

If there's no testcase, that's because I don't succeed in extracting one yet.  

Sorry to bother you this way :-/

Thanx in advance, Max


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