Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/chrono/month weekday"

From cppreference.com
< cpp‎ | chrono
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 {{concept|TriviallyCopyable}} {{concept|StandardLayoutType}}.
+
{{tt|month_weekday}} is a {{named req|TriviallyCopyable}} {{named req|StandardLayoutType}}.
  
 
=== Member functions ===
 
=== Member functions ===

Revision as of 14:44, 15 June 2018

 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
 
 
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) [edit]
retrieves the stored month and weekday_indexed values
(public member function) [edit]
checks whether the contained month and weekday_indexed are valid
(public member function) [edit]

Nonmember functions

compares two month_weekday values
(function) [edit]
outputs a month_weekday into a stream
(function template) [edit]