SysTutorials

Linux Manual Pages › Section 3

stdchronoweekday_lastok(3)

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()