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

[expr.sizeof]/2: there are no expressions of reference type #2654

Merged
merged 1 commit into from Feb 15, 2019

Conversation

languagelawyer
Copy link
Contributor

because

If an expression initially has the type “reference to T” ([dcl.ref], [dcl.init.ref]), the type is adjusted to T prior to any further analysis.

Fixes #2652.

@zygoloid zygoloid merged commit cafdbd8 into cplusplus:master Feb 15, 2019
@languagelawyer languagelawyer deleted the patch-3 branch February 15, 2019 23:04
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