std::chrono::weekday_last(3)
π std::chrono::weekday_last π
okay bestie, this is the std::chrono::weekday_last(3) page from the C++ Standard Libary manual. We're talking about the class itself, and yes, it's literally called std::chrono::weekday_last. No cap. π
π NAME π
std::chrono::weekday_last β std::chrono::weekday_last. Yes, that's the whole NAME line, bestie. Iconic. π
β¨ Synopsis β¨
Here's the vibe check:
Defined in header <chrono>
class weekday_last; (since C++20)
The class weekday_last represents the last weekday of some month. ποΈ
weekday_last is a TriviallyCopyable StandardLayoutType. Slay. β¨
π«Ά Member functions
- constructor β constructs a
weekday_lastobject (public member function) - weekday β accesses the stored
weekday(public member function) - ok β checks if the stored
weekdayis valid (public member function)
π Nonmember functions
operator==(C++20) β compares twoweekday_lastvalues (function)operator<<(C++20) β outputs aweekday_lastinto a stream (function template)
π Helper classes
std::formatter<std::chrono::weekday_last>(C++20) β formatting support forweekday_last(class template specialization)std::hash<std::chrono::weekday_last>(C++26) β hash support forstd::chrono::weekday_last(class template specialization)
made with love from http://cppreference.com, version/date 2024.06.10, for the std::chrono::weekday_last(3) page β mwah πβ¨
π¦ 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