ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher > Struct Template Reference
Collaboration diagram for ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >:

Public Types

typedef functor_storage< size_t, hasher > hasher_storage
 

Public Member Functions

 KeyOrValueHasher ()=default
 
 KeyOrValueHasher (const hasher &hash)
 
size_t operator() (const key_type &key)
 
size_t operator() (const key_type &key) const
 
size_t operator() (const value_type &value)
 
size_t operator() (const value_type &value) const
 
template<typename K , typename = std::enable_if_t<!std::is_same_v<K, key_type> && !std::is_same_v<K, value_type>>>
size_t operator() (const K &value)
 
template<typename K , typename = std::enable_if_t<!std::is_same_v<K, key_type> && !std::is_same_v<K, value_type>>>
size_t operator() (const K &value) const
 
- Public Member Functions inherited from ska::detailv3::functor_storage< size_t, hasher >
 functor_storage ()=default
 
 functor_storage (const hasher &functor)
 
size_t operator() (Args &&... args)
 
size_t operator() (Args &&... args) const
 

Member Typedef Documentation

◆ hasher_storage

template<typename key_type , typename value_type , typename hasher >
typedef functor_storage<size_t, hasher> ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::hasher_storage

Constructor & Destructor Documentation

◆ KeyOrValueHasher() [1/2]

template<typename key_type , typename value_type , typename hasher >
ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::KeyOrValueHasher ( )
default

◆ KeyOrValueHasher() [2/2]

template<typename key_type , typename value_type , typename hasher >
ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::KeyOrValueHasher ( const hasher &  hash)
inline

Member Function Documentation

◆ operator()() [1/6]

template<typename key_type , typename value_type , typename hasher >
template<typename K , typename = std::enable_if_t<!std::is_same_v<K, key_type> && !std::is_same_v<K, value_type>>>
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const K &  value)
inline

◆ operator()() [2/6]

template<typename key_type , typename value_type , typename hasher >
template<typename K , typename = std::enable_if_t<!std::is_same_v<K, key_type> && !std::is_same_v<K, value_type>>>
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const K &  value) const
inline

◆ operator()() [3/6]

template<typename key_type , typename value_type , typename hasher >
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const key_type &  key)
inline

◆ operator()() [4/6]

template<typename key_type , typename value_type , typename hasher >
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const key_type &  key) const
inline

◆ operator()() [5/6]

template<typename key_type , typename value_type , typename hasher >
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const value_type &  value)
inline

◆ operator()() [6/6]

template<typename key_type , typename value_type , typename hasher >
size_t ska::detailv3::KeyOrValueHasher< key_type, value_type, hasher >::operator() ( const value_type &  value) const
inline

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