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,over.match.ref] Drop obsolete mention of class prvalues. #2047

Merged
merged 1 commit into from May 8, 2018

Conversation

jensmaurer
Copy link
Member

Fixes #2046.

@zygoloid
Copy link
Member

zygoloid commented May 7, 2018

Mentioning "class prvalues" is wrong, but should we really only consider glvalues here? [dcl.init.ref]/5.3 can use a conversion function to convert to a prvalue of any type, and appears to be a "binds directly" case (although the "binds directly" wording is unclear about which cases it applies to).

So should we say something like:

invocation of a conversion function for conversion in which a reference\iref{dcl.init.ref} will be directly bound\iref{over.match.ref}.

?

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

Updated.

@zygoloid zygoloid merged commit aeddcdc into cplusplus:master May 8, 2018
@jensmaurer jensmaurer deleted the b18 branch May 8, 2018 06:52
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

2 participants