std:: hash <std::chrono::year_month>
From cppreference.net
<
cpp
|
chrono
|
year month
C++
Date and time library
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::chrono::year_month
| Member functions | ||||
| Nonmember functions | ||||
| Helper classes | ||||
|
hash
<std::chrono::year_month>
(C++26)
|
|
定義済みヘッダー
<chrono>
|
||
|
template
<>
struct
hash
<
std::
chrono
::
year_month
>
;
|
(C++26以降) | |
std::chrono::year_month に対する std::hash のテンプレート特殊化は、 std:: chrono :: year_month 型のオブジェクトのハッシュ値をユーザーが取得できるようにします。この特殊化は 有効化 されています。
この特殊化の operator ( ) は noexcept です。
注記
| 機能テスト マクロ | 値 | 標準 | 機能 |
|---|---|---|---|
__cpp_lib_chrono
|
202306L
|
(C++26) |
ハッシュ
サポート for
std::chrono
値クラス
|
関連項目
|
(C++11)
|
ハッシュ関数オブジェクト
(クラステンプレート) |