Namespaces
Variants

std:: hash <std::type_index>

From cppreference.net
Utilities library
헤더 파일에 정의됨 <typeindex>
template <> struct hash < std:: type_index > ;
(C++11부터)

std::hash std::type_index 에 대한 템플릿 특수화는 사용자가 std::type_index 타입 객체의 해시 값을 얻을 수 있도록 합니다.

멤버 operator ( ) 는 실질적으로 hash_code() 와 동일한 값을 반환합니다.

참고 항목

해시 코드를 반환합니다
(public member function)