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 the terminology of the non-local variable #4552

Closed
xmh0511 opened this issue Mar 22, 2021 · 1 comment
Closed

Clarify the terminology of the non-local variable #4552

xmh0511 opened this issue Mar 22, 2021 · 1 comment

Comments

@xmh0511
Copy link
Contributor

xmh0511 commented Mar 22, 2021

The phrase "non-local variable" is referred to in many sections, especially in [basic.start.dynamic]. However, the whole standard does not introduce a term definition for such a wording. Presumably, local entity is not used to cover the opposite of non-local. Should that define it to the variable which does not belong to a block or function parameter scope?

@xmh0511 xmh0511 changed the title Clarify the terminology of non-local Clarify the terminology of non-local variable Mar 22, 2021
@xmh0511 xmh0511 changed the title Clarify the terminology of non-local variable Clarify the terminology of the non-local variable Mar 22, 2021
@jensmaurer
Copy link
Member

The latest draft uses "block variable" and, correspondingly, "non-block variable". "non-local" doesn't appear in those contexts anymore.

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

No branches or pull requests

2 participants