std::hash<std::chrono::year_month_weekday_last>
From cppreference.com
< cpp | chrono | year month weekday last
| ヘッダー <chrono> で定義 |
||
| template<> struct hash<std::chrono::year_month_weekday_last>; |
(C++26以降) | |
The template specialization of std::hash for std::chrono::year_month_weekday_last allows users to obtain hashes of objects of type std::chrono::year_month_weekday_last. This specialization is enabled.
この特殊化の operator() は noexcept です。
[編集] 注記
| 機能テストマクロ | 値 | 規格 | 機能 |
|---|---|---|---|
__cpp_lib_chrono |
202306L |
(C++26) | std::chrono の値クラスに対するハッシュサポート |
[編集] 関連項目
| (C++11) |
ハッシュ関数オブジェクト (クラステンプレート) |