std::chrono...weekday_last(3)
π NAME π
std::chrono::month_weekday_last β std::chrono::month_weekday_last.
hiii bestie! π
This is the std::chrono...weekday_last(3) page from the C++ Standard Libary manual. Yes, that spelling is the manualβs, not a typo from me.
β¨ Synopsis β¨
Defined in header <chrono>
class month_weekday_last; (since C++20)
Okay so month_weekday_last represents the last weekday of a specific month β of some yet to be specified year. The year is giving mystery, not commitment. π
And month_weekday_last is a TriviallyCopyable StandardLayoutType. Iconic. π«Ά
π Member functions π
constructorβ constructs amonth_weekday_last(public member function).monthβ retrieves the storedmonthandweekday_lastvalues (public member function).weekday_lastβ public member function.okβ checks whether the containedmonthandweekday_lastare valid (public member function).
π Nonmember functions π
operator==β compares twomonth_weekday_lastvalues (C++20) (function).operator<<β outputs amonth_weekday_lastinto a stream (C++20) (function template).
π¦ Helper classes π¦
std::formatter<std::chrono::month_weekday_last>β formatting support formonth_weekday_last(C++20) (class template specialization).std::hash<std::chrono::month_weekday_last>β hash support forstd::chrono::month_weekday_last(C++26) (class template specialization).
okay thatβs the whole vibe. Sign-off time: source/version http://cppreference.com, dated 2024.06.10. Go forth and represent the last weekday of a month, bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms