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

Clarify definition of "variable" #4696

Closed
wants to merge 1 commit into from
Closed

Conversation

t3nsor
Copy link
Contributor

@t3nsor t3nsor commented Jun 12, 2021

In the current definition, the special exception for non-static data members is only stated for references, which gives the misleading impression that non-reference non-static data member declarations are variable declarations. By re-wording the definition, we can make it clear that a non-static data member declaration is never a variable declaration.

In the current definition, the special exception for non-static data members is only stated for references, which gives the misleading impression that non-reference non-static data member declarations are variable declarations. By re-wording the definition, we can make it clear that a non-static data member declaration is never a variable declaration.
@languagelawyer
Copy link
Contributor

In #1280, it was decided that «declaration of an object» should be handled in a CWG issue. I think this PR partially addresses #1280 and thus can't be editorial.

@jensmaurer
Copy link
Member

We need to properly divorce "variable" and "object"; recursive functions have a single variable, but several objects (one per activation frame). Fixing this it not editorial at all.

@jensmaurer jensmaurer added the cwg Issue must be reviewed by CWG. label Jun 15, 2021
@t3nsor t3nsor closed this Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cwg Issue must be reviewed by CWG.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants