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)
|
ハッシュ関数オブジェクト
(クラステンプレート) |