SysTutorials

Linux Manual Pages › Section 3

stdchronomonth_day_lastok(3)

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