Re: Subtle MT problem with __gnu_cxx::hash_map

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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/


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux