hash_map: odd behaviour

Max Lawson mlawson@drfmc.ceng.cea.fr
Tue Jun 2 07:57:00 GMT 1998


	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



More information about the Gcc-bugs mailing list