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
Strike mentions of undefined term "automatic object" #3490
Conversation
This term is fairly widely used, and is shorter than the alternative; maybe we should just define it? [basic.stc.auto]p1:
|
@zygoloid I feel that it's not used enough to warrant it. We already have a bunch of similar definitions like "local variable" and "local entity". |
I'd like to point out that @zygoloid's suggested change equates variables with objects, which we want to move away from. (There is a separate automatic object for each invocation of a function containing a non-static, non-thread-local, non-extern variable declaration.) |
Editorial meeting: use "with X storage duration", also cover static object. |
source/classes.tex
Outdated
the copying of the object with automatic storage duration | ||
\tcode{t} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it sound like t
is a name for the storage duration, not for the object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zygoloid Changing it to "the object t
with automatic storage duration" would resolve this
"Automatic object" is not a term defined by the standard. Replacing all mentions of it with "object with automatic storage duration" resolves the issue.