We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
operator-
<chrono>
1 parent 6fb63f0 commit dd8311cCopy full SHA for dd8311c
docs/standard-library/chrono-operators.md
@@ -362,7 +362,7 @@ int main()
362
363
// year_month_day_last
364
year_month_day_last ymdl = June / last / 2021;
365
- std::cout << ymdl - years{1} - months{1} << '\n'; // 2022/Jul/last
+ std::cout << ymdl - years{1} - months{1} << '\n'; // 2020/May/last
366
367
// year_month_weekday
368
year_month_weekday ymw{ year(1997) / January / Wednesday[1] };
0 commit comments