std::chrono...nth_day_last(3)
πΈ NAME πΈ
std::chrono::month_day_last β literally std::chrono::month_day_last - std::chrono::month_day_last. Bestie, the NAME section is serving self-referential icon behavior, and we respect it. This is the std::chrono...nth_day_last(3) page from the C++ Standard Libary manual (yes, Libary β the header said it, not me π).
β¨ Synopsis β¨
Defined in header <chrono>
class month_day_last; (since C++20)
Okay so month_day_last is a class that represents the last day of a specific month, of some yet to be specified year. Thatβs the whole vibe: month locked in, year still a mystery π
No cap, month_day_last is a TriviallyCopyable StandardLayoutType. Periodt.
π Member functions π
constructorβ constructs amonth_day_last(public member function)monthβ accesses the stored month (public member function)okβ checks if the stored month is valid (public member function)
π₯ Nonmember functions π₯
operator==β compares twomonth_day_lastvalues (function)operator<=>β function, tagged(C++20)operator<<β outputs amonth_day_lastinto a stream, tagged(C++20)(function template)
π¦ Helper classes π¦
std::formatter<std::chrono::month_day_last>β formatting support formonth_day_last, tagged(C++20)(class template specialization)std::hash<std::chrono::month_day_last>β hash support forstd::chrono::month_day_last, tagged(C++26)(class template specialization)
okay bye bestie π«Ά this page is signed off with source http://cppreference.com, date/version 2024.06.10, and manual std::chrono...nth_day_last(3) β slay, documented, done. π
π¦ 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