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.ref] Remove redundant bullet #7550

Closed
wants to merge 1 commit into from
Closed

[expr.ref] Remove redundant bullet #7550

wants to merge 1 commit into from

Conversation

lprv
Copy link
Contributor

@lprv lprv commented Jan 9, 2025

E2 is grammatically an id-expression, which can't denote a type.

An id-expression can't denote a type, so specifying that this
(impossible) case is ill-formed is not necessary.
@jensmaurer
Copy link
Member

A grammatical "id-expression" might not be an expression, because it has not been "suitably declared". Which is fine, because E2 does not need to be (and sometimes isn't) a valid expression in its own right, for example when E2 names a pseudo-destructor or an overload set.

@jensmaurer jensmaurer closed this Jan 9, 2025
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.

2 participants