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
P1185R2 <=> != == #2729
Conversation
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
|
a5ebc81
to
875133f
Compare
@brevzin: Added a note; see the commit for details. |
@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! |
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. |
On Mar 6, 2019, at 11:51 AM, Casey Carter ***@***.***> wrote:
@CaseyCarter requested changes on this pull request.
In source/classes.tex <#2729 (comment)>:
<snip>
+\begin{note}
+Such a friend function is not visible to unqualified lookup\iref{namespace.memdef}.
...or to qualified name lookup. Maybe it would be better to say can only be found via argument dependent lookup\iref{basic.lookup.argdep} rather than describing the complement?
Such an affirmative approach would be my preference, too, but let's move "only" to the end of that sentence. (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.)
Suggested phrasing for the Note in question:
Such a friend function is found via argument-dependent lookup ([basic.lookup.argdep]) only.
<snip>
|
As a writer of generic libraries, I would be unsurprised if ADL were to eat, paint, or shoot my functions. |
875133f
to
98d55ce
Compare
@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. |
@CaseyCarter many thanks for the full review :) |
98d55ce
to
d69814f
Compare
Fixes #2692.