If there is no key-value pair associated with the specified key in a
given jss::concurrent_map
object, construct a
new one from the supplied key-value pair.
std::pair<iterator,bool> insert(value_type const& data);
this->emplace(data.first,data.second)
.
insert()
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.
#include <jss/concurrent_map.hpp>