std::chrono::month_day_last::ok
< cpp | chrono | month day last
constexpr bool ok() const noexcept;
|
(C++20 起) | |
检查存储于 *this
的 month
对象是否合法。
返回值
month().ok()
constexpr bool ok() const noexcept;
|
(C++20 起) | |
检查存储于 *this
的 month
对象是否合法。
month().ok()