STL is not thread safe (yet). This class is really simple, and it serves the purpose perfectly. It allows only a subset of map methods to be used (the ones we need here), it is fast, and it is thread safe. AND (most important) it implements a singleton model.