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

std::chrono::weekday_last::ok: std::chrono::weekday_last::ok

NAME

std::chrono::weekday_last::ok - std::chrono::weekday_last::ok

Synopsis


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


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

Return value


weekday().ok()