ReXGlue SDK
Loading...
Searching...
No Matches
rex::KeyHasher< Key > Struct Template Reference

#include <rex/hash.h>

Public Member Functions

size_t operator() (const Key &hashed_key) const

Detailed Description

template<typename Key>
struct rex::KeyHasher< Key >

Hasher for a key type that holds its identity in a member named key, hashed with std::hash.

Template Parameters
KeyKey type with a hashable member key.

Member Function Documentation

◆ operator()()

template<typename Key>
size_t rex::KeyHasher< Key >::operator() ( const Key & hashed_key) const
inline
Returns
std::hash of the key member.

The documentation for this struct was generated from the following file: