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