We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<chrono>
month::operator++/--
llvm-project/libcxx/include/__chrono/month.h
Lines 34 to 37 in d713297
According to [time.cal.month.members], the result after month increment should be in [1, 12].
month
#include <chrono> // only libc++ failed static_assert( [] { auto m = std::chrono::December; ++m; return m.ok(); }() );
https://godbolt.org/z/z1d3oM86f
The text was updated successfully, but these errors were encountered:
Thanks for the report. The issue also happens when subtracting from January.
Sorry, something went wrong.
https://reviews.llvm.org/D155504
Landed as ab0d757
year_month::operator+=(month) is broken too... see https://godbolt.org/z/qds1oE7WM
@stevem2t Please open a new issue.
@philnik777 created #73162 :-) Best.
mordante
No branches or pull requests
llvm-project/libcxx/include/__chrono/month.h
Lines 34 to 37 in d713297
According to [time.cal.month.members], the result after
month
increment should be in [1, 12].https://godbolt.org/z/z1d3oM86f
The text was updated successfully, but these errors were encountered: