From Jason Turner

[time.cal.md.overview]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpg_84c0ks/{from.md → to.md} +26 -0
tmp/tmpg_84c0ks/{from.md → to.md} RENAMED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Overview <a id="time.cal.md.overview">[[time.cal.md.overview]]</a>
2
+
3
+ ``` cpp
4
+ namespace std::chrono {
5
+ class month_day {
6
+ chrono::month m_; // exposition only
7
+ chrono::day d_; // exposition only
8
+
9
+ public:
10
+ month_day() = default;
11
+ constexpr month_day(const chrono::month& m, const chrono::day& d) noexcept;
12
+
13
+ constexpr chrono::month month() const noexcept;
14
+ constexpr chrono::day day() const noexcept;
15
+ constexpr bool ok() const noexcept;
16
+ };
17
+ }
18
+ ```
19
+
20
+ `month_day` represents a specific day of a specific month, but with an
21
+ unspecified year. `month_day` meets the *Cpp17EqualityComparable* (
22
+ [[cpp17.equalitycomparable]]) and *Cpp17LessThanComparable* (
23
+ [[cpp17.lessthancomparable]]) requirements.
24
+
25
+ `month_day` is a trivially copyable and standard-layout class type.
26
+