Documentation Home >> Headers >> <jss/concurrent_map.hpp> Header >> jss::concurrent_map >> hash_function member function

Retrieve a copy of the hasher used by a jss::concurrent_map object for hashing keys.

hasher hash_function() const;

Returns:

A copy of the hasher object stored in *this.

Throws:

Any exception thrown by the copy constructor of Hasher.

Synchronization:

hash_function() 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.

Header

#include <jss/concurrent_map.hpp>

See Also