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

[class.eq] Fix the return value of a defaulted == operator function #6711

Merged
merged 1 commit into from Dec 18, 2023

Conversation

poyaoc97
Copy link
Contributor

The last sentence of [class.eq]p3 says the opposite after the refactor done in #6035.

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 22, 2023

@brevzin could you have a look, too?

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 22, 2023

Maybe we should instead swap "true" and "false" to retain the symmetry with the next paragraph? Either seems fine.

Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, that fixes a clear bug introduced by the supposedly-editoral rewrite of #6035.

@tkoeppe tkoeppe merged commit 12565ed into cplusplus:main Dec 18, 2023
2 checks passed
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 this pull request may close these issues.

None yet

4 participants