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

Remove [expr.sizeof]/3 #2653

Merged
merged 1 commit into from Mar 15, 2019
Merged

Remove [expr.sizeof]/3 #2653

merged 1 commit into from Mar 15, 2019

Conversation

languagelawyer
Copy link
Contributor

[expr.sizeof]/1 already covers the "shall not" part using more formal wording: "The sizeof operator shall not be applied to an expression that has function or incomplete type, to the parenthesized name of such types"
And I don't see why applying to a pointer to a function has to be explicitly and normatively allowed.

[expr.sizeof]/1 already covers the "shall not" part using more formal wording: "The sizeof operator shall not be applied to an expression that has function or incomplete type, to the parenthesized name of such types"
And I don't see why applying to a pointer to a function has to be explicitly and normatively allowed.
Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good riddance.

@zygoloid zygoloid merged commit 3117814 into cplusplus:master Mar 15, 2019
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