std::chrono::month_day (3) - Linux Manuals

std::chrono::month_day: std::chrono::month_day

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


              constructs a month_day
constructor (public member function)
              retrieve the stored month and day values
month (public member function)
day
              checks if the month_day is valid
ok (public member function)


Nonmember functions


operator==
operator!= compares two month_day objects
operator< (function)
operator<=
operator>
operator>=
            outputs a month_day into a stream
operator<< (function template)
            outputs a month_day into a stream according to the provided format
to_stream (function template)
            parses a month_day from a stream according to the provided format
from_stream (function template)