std::hash<std::type_index>
cppreference.net에서 가져옴
| 헤더 <typeindex>
|
||
template<> struct hash<std::type_index>;
|
에 정의됨 (C++11부터) | |
std::hash의 템플릿 특수화인 std::type_index는 사용자가 std::type_index 타입의 객체에 대한 해시를 얻을 수 있게 합니다.
멤버 operator()는 hash_code()와 동일한 값을 효과적으로 반환합니다.
참고 항목
|
해시 코드를 반환합니다
(public member function) |