table of contents
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| std::chrono::month_day(3) | C++ Standard Libary | std::chrono::month_day(3) |
NAME¶
std::chrono::month_day - std::chrono::month_day
Synopsis¶
Defined in header <chrono> class month_day; (since C++20)
The class month_day represents a specific day of a specific month, of some yet to be specified year.
month_day is a TriviallyCopyable StandardLayoutType.
Member functions¶
constructor constructs a month_day
(public member function) month retrieve the stored month and day
values day (public member function) ok checks if the month_day is
valid
(public member function)
Nonmember functions
operator== compares two month_day values operator<=> (function) (C++20) operator<< outputs a month_day into a stream (C++20) (function template) from_stream parses a month_day from a stream according to the provided format (C++20) (function template)
Helper classes¶
std::formatter<std::chrono::month_day> formatting support for month_day (C++20) (class template specialization) std::hash<std::chrono::month_day> hash support for std::chrono::month_day (C++26) (class template specialization)
| 2026.11.10 | http://cppreference.com |