Construct a new empty
instance using copies of the specified
explicit concurrent_map( Hasher const& hasher=Hasher(), KeyEquals const& equals=KeyEquals());
Constructs an empty
instance. Copies of the specified
are stored in the map object, and will be used for hashing or comparing
all keys stored in the map.
std::bad_alloc if memory required
for the internal storage of the
cannot be allocated; any exceptions thrown by the copy constructors
The constructor of a
instance must not run concurrently with any other member functions
called on the same object. Users must ensure (through the use of
external synchronization) that the completion of the constructor
happens-before any calls to member functions
on the same object.