libstdc++: Hashes

libstdc++

Hashes
Utilities » Function Objects
Collaboration diagram for Hashes:

## Classes
struct | std::hash< _Tp >
struct | std::hash< _Tp * >
struct | std::hash< bool >
struct | std::hash< char >
struct | std::hash< char16_t >
struct | std::hash< char32_t >
struct | std::hash< double >
struct | std::hash< float >
struct | std::hash< int >
struct | std::hash< long >
struct | std::hash< long double >
struct | std::hash< long long >
struct | std::hash< short >
struct | std::hash< signed char >
struct | std::hash< unsigned char >
struct | std::hash< unsigned int >
struct | std::hash< unsigned long >
struct | std::hash< unsigned long long >
struct | std::hash< unsigned short >
struct | std::hash< wchar_t >

## Macros
#define | _Cxx_hashtable_define_trivial_hash(_Tp)

## Variables
template<typename _Tp, typename = void>
constexpr bool | std::__is_hash_enabled_for
template<typename _Tp>
constexpr bool | std::__is_hash_enabled_for< _Tp, __void_t< decltype(hash< _Tp >()(declval< _Tp >()))> >

## Detailed Description

Hashing functors taking a variable type and returning a `std::size_t`.

## Macro Definition Documentation

## ◆ _Cxx_hashtable_define_trivial_hash

#define _Cxx_hashtable_define_trivial_hash | ( |  | _Tp | ) |

Definition at line 118 of file functional_hash.h.

## Variable Documentation

## ◆ __is_hash_enabled_for

template<typename _Tp, typename = void>

bool std::__is_hash_enabled_for
| constexpr

Definition at line 73 of file functional_hash.h.

## ◆ __is_hash_enabled_for< _Tp, __void_t< decltype(hash< _Tp >()(declval< _Tp >()))> >

template<typename _Tp>

bool std::__is_hash_enabled_for< _Tp, __void_t< decltype(hash< _Tp >()(declval< _Tp >()))> >
| constexpr

Definition at line 76 of file functional_hash.h.