Skip to content

Commit

Permalink
Formatting and yvals_core.h
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperWig committed Nov 21, 2019
1 parent de2ee4f commit 01e41c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stl/inc/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ namespace chrono {
return true;
const sys_days _First = _Year / _Month / chrono::weekday_indexed{weekday(), 1};
const sys_days _Four = _First + days{28};
return year_month_day{_Four}.month() == _Month;
return year_month_day{_Four}.month() == _Month;
}
constexpr bool operator==(const year_month_weekday& _Left, const year_month_weekday& _Right) noexcept {
return _Left.year() == _Right.year() && _Left.month() == _Right.month()
Expand Down Expand Up @@ -1749,7 +1749,7 @@ namespace chrono {

constexpr year_month_weekday_last::operator sys_days() const noexcept {
const sys_days _Last{_Year / _Month / last};
const auto _Diff = chrono::weekday{_Last} - weekday();
const auto _Diff = chrono::weekday{_Last} - weekday();
return _Last - _Diff;
}
constexpr year_month_weekday_last::operator local_days() const noexcept {
Expand Down
2 changes: 2 additions & 0 deletions stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
// P0020R6 atomic<float>, atomic<double>, atomic<long double>
// P0318R1 unwrap_reference, unwrap_ref_decay
// P0325R4 to_array()
// P0355R7 Calendars And Time Zones
// (partially implemented)
// P0356R5 bind_front()
// P0439R0 enum class memory_order
// P0457R2 starts_with()/ends_with() For basic_string/basic_string_view
Expand Down

0 comments on commit 01e41c4

Please sign in to comment.