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

[basic.scope.block] et al. - Ambiguous definition of "local variable" #6617

Open
vabold opened this issue Oct 11, 2023 · 1 comment
Open

Comments

@vabold
Copy link

vabold commented Oct 11, 2023

In recent drafts for [basic.scope.block], the term for a variable belonging to a block scope has changed from local variable to block variable. However, subsequent mentions of a local variable have not been changed, leading to an ambiguous meaning.

@frederick-vs-ja
Copy link
Contributor

It seems that the remain uses of "local variable" mean "block variable with automatic storage duration". Perhaps we can reintroduce the term.

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