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.typeid] Add note highlighting prohibition of bad function types. #3263

Merged
merged 1 commit into from Oct 6, 2019

Conversation

jensmaurer
Copy link
Member

Function types that can only be used for member functions
(because they have cv-qualifiers or a ref-qualifier)
cannot appear as a typeid operand.

Fixes #3260.

Function types that can only be used for member functions
(because they have cv-qualifiers or a ref-qualifier)
cannot appear as a typeid operand.
@zygoloid zygoloid merged commit 5fe6230 into cplusplus:master Oct 6, 2019
@jensmaurer jensmaurer deleted the c13 branch October 20, 2019 19:59
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.

[expr.typeid] Add a note covering abominable function types as type-id
2 participants