Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[time.cal.ymwd.nonmembers] Typo in year_month_weekday subtraction/addition with years #2886

Closed
tomaszkam opened this issue May 19, 2019 · 0 comments · Fixed by #2895
Closed

Comments

@tomaszkam
Copy link

tomaszkam commented May 19, 2019

The subtraction/addition operator for year_month_weekday and years uses dm instead of dy to refer to paramter.

constexpr year_month_weekday operator+(const years& dy, const year_month_weekday& ymwd) noexcept;
Returns: ymwd + <ins>dy</ins><del>dm</del>.

constexpr year_month_weekday operator-(const year_month_weekday& ymwd, const years& dy) noexcept;

Returns: ymwd + (-<ins>dy</ins><del>dm</del>).
@tomaszkam tomaszkam changed the title [time.cal.ymwd.nonmembers] Typo in year_month_weekday substraction/addition with years [time.cal.ymwd.nonmembers] Typo in year_month_weekday subtraction/addition with years May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant