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

Obtain a copy of the key_equals object used by a jss::concurrent_map object to compare keys.

key_equals key_eq() const;

Returns:

A copy of the key_equals object stored in *this.

Throws:

Any exceptions thrown by the copy constructor of key_equals.

Synchronization:

key_eq() 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