Cachemere
Modular Caching Library for C++
Public Types | List of all members
cachemere::MultiHash< Key, KeyHash, Tail > Struct Template Reference

Allows combining hashers for multiple types into a single hashing object. More...

#include <hash.h>

Public Types

using is_transparent = void
 

Detailed Description

template<typename Key, typename KeyHash, typename... Tail>
struct cachemere::MultiHash< Key, KeyHash, Tail >

Allows combining hashers for multiple types into a single hashing object.

Takes pairs of template parameters of the form [(T, Hash<T>), (U, Hash), ...] and generates an override of the call operator to hash that particular type using its hasher.


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