std:: hash <std::chrono::zoned_time>
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Nonmember functions | ||||
| Helper classes | ||||
|
hash
<std::chrono::zoned_time>
(C++26)
|
||||
| Deduction guides |
|
헤더에 정의됨
<chrono>
|
||
|
template
<
class
Duration,
class
TimeZonePtr
>
struct hash < std:: chrono :: zoned_time < Duration, TimeZonePtr >> ; |
(C++26부터) | |
std::hash 의 std::chrono::zoned_time 에 대한 템플릿 특수화는 사용자가 std:: chrono :: zoned_time < Duration, TimeZonePtr > 타입 객체의 해시를 얻을 수 있게 합니다. 이 특수화는 활성화됩니다 std:: hash < Duration > 와 std:: hash < TimeZonePtr > 모두가 활성화된 경우에만 적용됩니다.
참고 사항
| 기능 테스트 매크로 | 값 | 표준 | 기능 |
|---|---|---|---|
__cpp_lib_chrono
|
202306L
|
(C++26) |
해싱
지원 for
std::chrono
값 클래스
|
참고 항목
|
(C++11)
|
해시 함수 객체
(클래스 템플릿) |