Return an iterator pointing to the key-value pair associated with the
specified key in a given jss::concurrent_map
object, if there is one.
iterator find(KeyType const& key);
An iterator pointing to the key-value pair associated with key
in *this
at the point of the call, or
this->end()
if there is no entry for the specified key
.
Any exception thrown by the application of the Hasher
or KeyEquals
objects.
find()
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>