TrinityCore
std::hash< std::pair< K, V > > Struct Template Reference

#include <Hash.h>

Public Member Functions

size_t operator() (std::pair< K, V > const &p) const
 

Detailed Description

template<class K, class V>
struct std::hash< std::pair< K, V > >

Hash implementation for std::pair to allow using pairs in unordered_set or as key for unordered_map Individual types used in pair must be hashable by std::hash

Definition at line 48 of file Hash.h.

Member Function Documentation

◆ operator()()

template<class K , class V >
size_t std::hash< std::pair< K, V > >::operator() ( std::pair< K, V > const &  p) const
inline

Definition at line 51 of file Hash.h.

+ Here is the call graph for this function:

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