Return a copy of the value associated with the specified key in a given
jss::concurrent_map
object.
DataType at(KeyType const& key);
A copy of the value associated with key
in *this
at the point of the call.
std::out_of_range
if the specified
key
is not present
in *this
.
Any exceptions thrown by the copy constructor or move constructor
of DataType
. Any
exception thrown by the application of the Hasher
or KeyEquals
objects.
at()
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>