You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the "non-local variable " has been completely excised after P1787. However, there's still a similar wording survived in the current draft
All variables which do not have dynamic storage duration, do not have thread storage duration, and are not local have static storage duration.
Should we say
All variables which do not have dynamic storage duration, do not have thread storage duration, and do not belong to block and function parameter scope have static storage duration.
To be consistent with these prior modifications.
The text was updated successfully, but these errors were encountered:
xmh0511
changed the title
The non-normative wording "local variable" might not survive in [basic.stc.static]
The non-normative wording "local variable" shoul not survive in [basic.stc.static]
Mar 30, 2021
jensmaurer
changed the title
The non-normative wording "local variable" shoul not survive in [basic.stc.static]
The non-normative wording "local variable" should not survive in [basic.stc.static]
Apr 2, 2021
I'm neutral to preserve "local" or not (though "local scope" has been removed away after C++03 someday, it should be still familiar to many users), but "belong" seems somewhat strange to me.
I'm neutral to preserve "local" or not (though "local scope" has been removed away after C++03 someday, it should be still familiar to many users), but "belong" seems somewhat strange to me.
A declaration that inhabits a scope does not mean the associated entity belongs to that scope.
Since the "non-local variable " has been completely excised after P1787. However, there's still a similar wording survived in the current draft
Should we say
To be consistent with these prior modifications.
The text was updated successfully, but these errors were encountered: