-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<filesystem>: path
's comparison operators are IF-NDR
#2358
Comments
path
's comparison operators invoke IF-NDRpath
's comparison operators are IF-NDR
In addition to Line 971 in 3c2fd04
Lines 1739 to 1740 in 3c2fd04
There are similar uses in templates, but uses in uninstantiated templates are probably fine. |
@CaseyCarter agrees that this is definitely a bug, and that we need to ensure that |
@cpplearner thank you for your analytics. Templates influenced this too. I had to do inline templated |
Describe the bug
After #2000,
path
's comparison operators are IF-NDR (ill-formed, no diagnostic required). See @Quuxplusone's blogpost and @jwakely's comment for a detailed analysis of similar issues in libc++ and libstdc++.Command-line test case
Copied from Arthur O’Dwyer's blogpost.
STL version
3c2fd04
The text was updated successfully, but these errors were encountered: