Construct a new key-value pair from the specified
data. If there is
no key-value pair associated with the specified
in a given
jss::concurrent_map object, insert the new
one, otherwise replace the existing entry with the new one.
iterator erase(const iterator& it); iterator erase(iterator&& it); void erase(KeyType && key);
it must refer to
an item in
Remove the key-value pair referred to by
or with the specified
If an entry is removed then the old entry is destroyed when there is no longer any accesses to the map object that could reference it.
The overloads that take
return a new
referring to the key-value pair following
at the point of call, or
this->end() if there is no such value.
Any exception thrown by the application of the
may be called concurrently with any other member function of
jss::concurrent_map on a given instance
(except for the constructor and destructor) without external synchronization.