Can I access (without locking) an std::map entry while another thread inserts/erases entrys?
example pseudo C++:
typedef struct { int value; in
As long as the threads are not accessing the same address at the same time there will be no problem.
But for a direct answer to your question, no, it is not thread safe so you can't do it without locking without any errors.