std::chrono::month_day::ok (3) - Linux Manuals
std::chrono::month_day::ok: std::chrono::month_day::ok
Command to display std::chrono::month_day::ok
manual in Linux: $ man 3 std::chrono::month_day::ok
NAME
std::chrono::month_day::ok - std::chrono::month_day::ok
Synopsis
constexpr bool ok() const noexcept; (since C++20)
Determines whether this month_day stores a valid month-day combination.
The combination is valid if month() represents a valid month (month().ok() == true), unsigned{day()} >= 1, and unsigned{day()} <= D, where D is the number of days in the month represented by month(). The number of days in February is considered to be 29.
Return value
true if the month and day combination is valid, otherwise false.
Pages related to std::chrono::month_day::ok
- std::chrono::month_day::month,std::chrono::month_day::day (3) - std::chrono::month_day::month,std::chrono::month_day::day
- std::chrono::month_day::month_day (3) - std::chrono::month_day::month_day
- std::chrono::month_day (3) - std::chrono::month_day
- std::chrono::month_day_last (3) - std::chrono::month_day_last
- std::chrono::month_day_last::month (3) - std::chrono::month_day_last::month
- std::chrono::month_day_last::month_day_last (3) - std::chrono::month_day_last::month_day_last
- std::chrono::month_day_last::ok (3) - std::chrono::month_day_last::ok
- std::chrono::month_weekday (3) - std::chrono::month_weekday
- std::chrono::month_weekday::month,std::chrono::month_weekday::weekday_indexed (3) - std::chrono::month_weekday::month,std::chrono::month_weekday::weekday_indexed
- std::chrono::month_weekday::month_weekday (3) - std::chrono::month_weekday::month_weekday
- std::chrono::month_weekday::ok (3) - std::chrono::month_weekday::ok
- std::chrono::month_weekday_last (3) - std::chrono::month_weekday_last
- std::chrono::month_weekday_last::month,std::chrono::month_weekday_last::weekday_last (3) - std::chrono::month_weekday_last::month,std::chrono::month_weekday_last::weekday_last
- std::chrono::month_weekday_last::month_weekday_last (3) - std::chrono::month_weekday_last::month_weekday_last
- std::chrono::month_weekday_last::ok (3) - std::chrono::month_weekday_last::ok
- std::chrono::month (3) - std::chrono::month
- std::chrono::month::month (3) - std::chrono::month::month
- std::chrono::month::ok (3) - std::chrono::month::ok
- std::chrono::month::operator++,std::chrono::month::operator-- (3) - - std::chrono::month::operator++,std::chrono::month::operator--
- std::chrono::month::operator+=,std::chrono::month::operator-= (3) - std::chrono::month::operator+=,std::chrono::month::operator-=
- std::chrono::month::operatorunsigned (3) - std::chrono::month::operatorunsigned
- std::chrono::_V2_steady_clock (3)