Subtle MT problem with __gnu_cxx::hash_map

Paul Dubuc pdubuc@cas.org
Fri Nov 19 20:45:00 GMT 2004



Matt Austern wrote:

> 
> 
> But operator[] isn't read access.  It's defined to be equivalent to a 
> certain form of insert().

Not just insert() but find() too.  So it's both read and write access.  I think 
there's enough ambiguity to warrant the simple change I suggested if it's really 
feasible.

-- 
Paul M. Dubuc
Dept. 25 | Rm. 4349B | ext. 2692
http://www.purl.org/dubuc/cas/



More information about the Gcc-bugs mailing list