std::chrono::month_day_last::ok (3) - Linux Manuals

std::chrono::month_day_last::ok: std::chrono::month_day_last::ok

NAME

std::chrono::month_day_last::ok - std::chrono::month_day_last::ok

Synopsis


constexpr bool ok() const noexcept; (since C++20)


Checks if the month object stored in *this is valid.

Return value


month().ok()