
10 Nov
2008
10 Nov
'08
6:12 p.m.
2008/11/10 Kenny Riddile
This is a simple question, but a quick search didn't turn up any answers. Is it safe for multiple readers to access a boost::unordered_map concurrently?
Yes, as long as nothing modifies it (and the key and mapped object, hash function and key predicate are appropriately safe, of course). This is the same as any STL container. Daniel