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

P1185R2 <=> != == #2729

Merged
merged 5 commits into from Mar 12, 2019
Merged

P1185R2 <=> != == #2729

merged 5 commits into from Mar 12, 2019

Conversation

jensmaurer
Copy link
Member

Fixes #2692.

source/classes.tex Outdated Show resolved Hide resolved
@brevzin
Copy link
Contributor

brevzin commented Mar 5, 2019

Walter suggested adding something like this to the end of [class.compare.default]/1 to indicate that in the case that the implementation provides a hidden friend declaration of == that it's actually hidden (i.e. the implementation is not allowed to additionally provide a non-member declaration). Should be editorial:

In the latter case, there shall be no declaration or redeclaration of the == operator function outside C's member-specification [Note: The intent is that a two-argument defaulted operator function is to be found via argument-dependent lookup only. - end note]

@jensmaurer
Copy link
Member Author

@brevzin: Added a note; see the commit for details.

@jensmaurer jensmaurer added this to the post-2019-02 milestone Mar 5, 2019
@burblebee
Copy link
Contributor

@CaseyCarter I assigned this to you thinking that you had done a complete review of the changes - was that a mistake? Just trying to make sure a "member" does a complete review here... Please let me know if I should reassign this to someone else. Thanks!

@CaseyCarter
Copy link
Contributor

I assigned this to you thinking that you had done a complete review of the changes - was that a mistake?

I have not made a proper review, but I did click "Start review" instead of "Add single comment", presumably prompting you to assign the PR to me. I plan to do a proper review this evening as an object lesson to remind me to choose my buttons more carefully.

source/classes.tex Outdated Show resolved Hide resolved
source/classes.tex Show resolved Hide resolved
source/classes.tex Show resolved Hide resolved
source/templates.tex Outdated Show resolved Hide resolved
@W-E-Brown
Copy link
Contributor

W-E-Brown commented Mar 6, 2019 via email

@CaseyCarter
Copy link
Contributor

Otherwise, we're saying that such a friend function can only be found [and not, for example, be eaten, be painted, or be shot ☺︎] via ADL.

As a writer of generic libraries, I would be unsurprised if ADL were to eat, paint, or shoot my functions.

@jensmaurer
Copy link
Member Author

@burblebee, I think maybe anyone making a review comment gets assigned as "reviewer". In any case, I'd expect a "full" reviewer to approve after all the fixes have been applied.

@burblebee
Copy link
Contributor

@burblebee, I think maybe anyone making a review comment gets assigned as "reviewer". In any case, I'd expect a "full" reviewer to approve after all the fixes have been applied.

Yes, I'm often thrown off by this, which is why I've resorted to assigning reviewers, so that I know if someone is going to review the PR, and to make sure that someone knows to do a complete review (and approve, suggest changes, etc.). There are too many PRs for all of us (or Richard) to review each one; this spreads the load.

@burblebee
Copy link
Contributor

@CaseyCarter many thanks for the full review :)

@zygoloid zygoloid merged commit 79cd78c into master Mar 12, 2019
@jensmaurer jensmaurer deleted the motions-2019-02-cwg-12 branch October 19, 2019 20:05
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

6 participants