Scroll to navigation

std::chrono::month_day_last(3) C++ Standard Libary std::chrono::month_day_last(3)

NAME

std::chrono::month_day_last - std::chrono::month_day_last

Synopsis


Defined in header <chrono>
class month_day_last; (since C++20)


The class month_day_last represents the last day of a specific month, of some yet to
be specified year.


month_day_last is a TriviallyCopyable StandardLayoutType.

Member functions


constructor constructs a month_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 two month_day_last values
operator<=> (function)
(C++20)
operator<< outputs a month_day_last into a stream
(C++20) (function template)

Helper classes


std::formatter<std::chrono::month_day_last> formatting support for month_day_last
(C++20) (class template specialization)
std::hash<std::chrono::month_day_last> hash support for
(C++26) std::chrono::month_day_last
(class template specialization)

2024.06.10 http://cppreference.com