hash.h
#ifndef HASH_INCLUDED
#define HASH_INCLUDED
#if defined _WIN32 && !defined __MINGW32__
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#include <hash_map>
using namespace stdext;
#else // !_WIN32 || __MINGW32__
#define _GLIBCXX_PERMIT_BACKWARD_HASH
#include <ext/hash_map>
using namespace __gnu_cxx;
namespace __gnu_cxx
{
template<> struct hash<long long> {
size_t operator()(long long __x) const { return __x; }
};
template<> struct hash<const long long> {
size_t operator()(const long long __x) const { return __x; }
};
template<> struct hash<unsigned long long> {
size_t operator()(unsigned long long __x) const { return __x; }
};
template<> struct hash<const unsigned long long> {
size_t operator()(const unsigned long long __x) const { return __x; }
};
}
#endif // _WIN32 && !__MINGW32__
#endif // HASH_INCLUDED
__gnu_cxx::hash< const long long >::operator()
size_t operator()(const long long __x) const
Definition: hash.h:19
__gnu_cxx::hash< long long >::operator()
size_t operator()(long long __x) const
Definition: hash.h:16
__gnu_cxx::hash< const unsigned long long >::operator()
size_t operator()(const unsigned long long __x) const
Definition: hash.h:27
__gnu_cxx::hash< unsigned long long >::operator()
size_t operator()(unsigned long long __x) const
Definition: hash.h:24
__gnu_cxx
Definition: hash.h:13