Difference between revisions of "cpp/chrono/month weekday"
From cppreference.com
m (link to zh) |
m (Text replace - "{{concept" to "{{named req") |
||
Line 10: | Line 10: | ||
The class {{tt|month_weekday}} represents the n-th weekday of a specific month, of some yet to be specified year. | The class {{tt|month_weekday}} represents the n-th weekday of a specific month, of some yet to be specified year. | ||
− | {{tt|month_weekday}} is a {{ | + | {{tt|month_weekday}} is a {{named req|TriviallyCopyable}} {{named req|StandardLayoutType}}. |
=== Member functions === | === Member functions === |
Revision as of 14:44, 15 June 2018
Defined in header <chrono>
|
||
class month_weekday; |
(since C++20) | |
The class month_weekday
represents the n-th weekday of a specific month, of some yet to be specified year.
month_weekday
is a TriviallyCopyable StandardLayoutType.
Member functions
constructs a month_weekday (public member function) | |
retrieves the stored month and weekday_indexed values (public member function) | |
checks whether the contained month and weekday_indexed are valid (public member function) |
Nonmember functions
(C++20) |
compares two month_weekday values (function) |
(C++20) |
outputs a month_weekday into a stream (function template) |