Namespaces
Variants

std:: hash (std::experimental::propagate_const)

From cppreference.net
헤더 파일에 정의됨 <experimental/propagate_const>
template < class T > struct hash < std:: experimental :: propagate_const < T >> ;
(라이브러리 fundamentals TS v2)

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

주어진 std:: experimental :: propagate_const < T > p 에 대해, 이 특수화는 std:: hash < std:: experimental :: propagate_const < T >> ( ) ( p ) == std:: hash < T > ( ) ( p. t_ ) 임을 보장합니다. 여기서 p. t_ p 에 의해 래핑된 포인터와 유사한 객체입니다.

예제

참고 항목

(C++11)
해시 함수 객체
(클래스 템플릿)