cpp / latest / chrono / month_weekday_last.html /

std::chrono::month_weekday_last

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

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

month_weekday_last is a TriviallyCopyable StandardLayoutType.

Member functions

constructs a month_weekday_last
(public member function)
retrieves the stored month and weekday_last values
(public member function)
checks whether the contained month and weekday_last are valid
(public member function)

Nonmember functions

(C++20)
compares two month_weekday_last values
(function)
(C++20)
outputs a month_weekday_last into a stream
(function template)

Helper classes

(C++20)
specialization of std::formatter that formats a month_weekday_last according to the provided format
(class template specialization)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/chrono/month_weekday_last