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

[over.match.copy] Clarify candidate function selection for references. #2054

Merged
merged 1 commit into from May 7, 2018

Conversation

jensmaurer
Copy link
Member

Fixes #2053.

@languagelawyer
Copy link
Contributor

languagelawyer commented Apr 28, 2018

#2053 updated: [over.match.conv] and [diff.expr]/4 also need the fix!

@zygoloid
Copy link
Member

zygoloid commented May 7, 2018

I agree, we should update [over.match.conv] too (though I'm not sure what needs changes in [diff.expr]/4?). I also think it would be reasonable to convert the wording in question to a note.

@languagelawyer
Copy link
Contributor

though I'm not sure what needs changes in [diff.expr]/4

I've cited in #2053:

C++ is an object-oriented language, placing relatively more emphasis on lvalues.
For example, functions may return lvalues.

@jensmaurer jensmaurer added the needs rebase The pull request needs a git rebase to resolve merge conflicts. label May 7, 2018
@jensmaurer
Copy link
Member Author

Updated.

@jensmaurer jensmaurer removed the needs rebase The pull request needs a git rebase to resolve merge conflicts. label May 7, 2018
@zygoloid
Copy link
Member

zygoloid commented May 7, 2018

Looks good, thanks. Did you consider and reject the idea of turning this into a note?

@zygoloid zygoloid merged commit 067ddaa into cplusplus:master May 7, 2018
@jensmaurer
Copy link
Member Author

@zygoloid: For the overload resolution candidates, I believe the text needs to be normative (the remaining text, taking verbatim, seems to exclude conversion to references).

@jensmaurer jensmaurer deleted the b20 branch May 7, 2018 20:44
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

3 participants