tmp/tmp2nhavkb8/{from.md → to.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
### Automatic storage duration <a id="basic.stc.auto">[[basic.stc.auto]]</a>
|
| 2 |
|
| 3 |
Block-scope variables not explicitly declared `static`, `thread_local`,
|
| 4 |
or `extern` have *automatic storage duration*. The storage for these
|
| 5 |
entities lasts until the block in which they are created exits.
|
| 6 |
|
|
@@ -9,7 +9,7 @@ in [[stmt.dcl]]. — *end note*]
|
|
| 9 |
|
| 10 |
If a variable with automatic storage duration has initialization or a
|
| 11 |
destructor with side effects, an implementation shall not destroy it
|
| 12 |
before the end of its block nor eliminate it as an optimization, even if
|
| 13 |
it appears to be unused, except that a class object or its copy/move may
|
| 14 |
-
be eliminated as specified in [[class.copy]].
|
| 15 |
|
|
|
|
| 1 |
+
#### Automatic storage duration <a id="basic.stc.auto">[[basic.stc.auto]]</a>
|
| 2 |
|
| 3 |
Block-scope variables not explicitly declared `static`, `thread_local`,
|
| 4 |
or `extern` have *automatic storage duration*. The storage for these
|
| 5 |
entities lasts until the block in which they are created exits.
|
| 6 |
|
|
|
|
| 9 |
|
| 10 |
If a variable with automatic storage duration has initialization or a
|
| 11 |
destructor with side effects, an implementation shall not destroy it
|
| 12 |
before the end of its block nor eliminate it as an optimization, even if
|
| 13 |
it appears to be unused, except that a class object or its copy/move may
|
| 14 |
+
be eliminated as specified in [[class.copy.elision]].
|
| 15 |
|