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

#include <rex/hash.h>

Public Member Functions

size_t operator() (const Key &key) const

Detailed Description

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

Hasher that returns a key hashed elsewhere, for containers with external hashing.

Template Parameters
KeyKey type convertible to size_t.

Member Function Documentation

◆ operator()()

template<typename Key>
size_t rex::IdentityHasher< Key >::operator() ( const Key & key) const
inline
Returns
key cast to size_t.

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