mCRL2
Loading...
Searching...
No Matches
mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash Struct Reference

Public Types

using is_transparent = void
 

Public Member Functions

 PairHash ()=default
 
 PairHash (const hasher &hash)
 
std::size_t operator() (const value_type &pair) const
 
template<typename U , typename ... V, typename = std::enable_if_t<!std::is_same_v<U, std::pair<Key, T>>>>
std::size_t operator() (const U &key, const V &...) const
 

Public Attributes

hasher hash
 

Detailed Description

template<typename Key, typename T, typename Hash, typename KeyEqual, typename Allocator, bool ThreadSafe, bool Resize>
struct mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash

Definition at line 52 of file unordered_map.h.

Member Typedef Documentation

◆ is_transparent

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
using mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::is_transparent = void

Definition at line 54 of file unordered_map.h.

Constructor & Destructor Documentation

◆ PairHash() [1/2]

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::PairHash ( )
default

◆ PairHash() [2/2]

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::PairHash ( const hasher hash)
inlineexplicit

Definition at line 58 of file unordered_map.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
template<typename U , typename ... V, typename = std::enable_if_t<!std::is_same_v<U, std::pair<Key, T>>>>
std::size_t mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::operator() ( const U &  key,
const V &  ... 
) const
inline

Definition at line 70 of file unordered_map.h.

◆ operator()() [2/2]

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
std::size_t mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::operator() ( const value_type pair) const
inline

Definition at line 64 of file unordered_map.h.

Member Data Documentation

◆ hash

template<typename Key , typename T , typename Hash , typename KeyEqual , typename Allocator , bool ThreadSafe, bool Resize>
hasher mcrl2::utilities::unordered_map< Key, T, Hash, KeyEqual, Allocator, ThreadSafe, Resize >::PairHash::hash

Definition at line 62 of file unordered_map.h.


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