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
[diff.cpp11] Supply a compatibility note for CWG1560 #530
Conversation
Can you please squash and rebase the commits? |
bfeb14e
to
234fa2e
Compare
OK. Squeshed and rebased. |
@zygoloid: Could you please take a look? |
As an April 2013 DR, doesn't it technically amend C++11? |
@cubbimew Yes it amends C++11. But the way is not perfectly compatible. |
@@ -1380,6 +1380,40 @@ | |||
Note that this might occur when the lvalue has a type given by a template | |||
parameter. | |||
|
|||
\rSec2[diff.cpp11.expr]{Clause \ref{expr}: expressions} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please delete this header; it is a duplicate of the one on line 1372.
234fa2e
to
802f88e
Compare
Thank you for the review. I made the fixes, and squashed and rebased again. |
Can you please rebase? |
CWG1560: Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1560 The change had been made between C++11 and C++14.
802f88e
to
0a65969
Compare
OK. Rebased. |
@zygoloid: PTAL |
CWG1560: Gratuitous lvalue-to-rvalue conversion in
conditional-expression with throw-expression operand
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1560
The change had been made between C++11 and C++14.