File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 943
943
A variable with automatic storage duration\iref {basic.stc.auto }
944
944
is \defnx {active}{variable!active} everywhere in the scope to which it belongs
945
945
after its \grammarterm {init-declarator}.
946
-
947
- \pnum
948
946
\indextext {initialization!jump past}%
949
947
\indextext {\idxcode {goto}!initialization and}%
950
948
Upon each transfer of control (including sequential execution of statements)
951
949
within a function from point $ P$ to point $ Q$ ,
952
- all variables that are active at $ P$ and not at $ Q$ are destroyed in the reverse order of their construction.
953
- Then, all variables that are active at $ Q$ but not at $ P$ are initialized in declaration order;
950
+ all variables with automatic storage duration
951
+ that are active at $ P$ and not at $ Q$ are destroyed in the reverse order of their construction.
952
+ Then, all variables with automatic storage duration
953
+ that are active at $ Q$ but not at $ P$ are initialized in declaration order;
954
954
unless all such variables have vacuous initialization\iref {basic.life },
955
955
the transfer of control shall not be a jump.
956
956
\begin {footnote }
You can’t perform that action at this time.
0 commit comments