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

[basic.lval] Clarify result object for prvalues as operands #2316

Merged
merged 1 commit into from Oct 9, 2018

Conversation

jensmaurer
Copy link
Member

Fixes #2300.

@jensmaurer
Copy link
Member Author

For the built-in comma operator, a discarded prvalue could still be of class type and thus have a target object for the materialization.

@zygoloid zygoloid merged commit ad121b9 into cplusplus:master Oct 9, 2018
@jensmaurer jensmaurer deleted the b20 branch October 9, 2018 12:20
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