tmp/tmpn9qqxebk/{from.md → to.md}
RENAMED
|
@@ -2,16 +2,17 @@
|
|
| 2 |
|
| 3 |
behavior for which this document imposes no requirements
|
| 4 |
|
| 5 |
[*Note 1 to entry*: Undefined behavior may be expected when this
|
| 6 |
document omits any explicit definition of behavior or when a program
|
| 7 |
-
uses an
|
| 8 |
behavior ranges from ignoring the situation completely with
|
| 9 |
unpredictable results, to behaving during translation or program
|
| 10 |
execution in a documented manner characteristic of the environment (with
|
| 11 |
-
or without the issuance of a
|
|
|
|
| 12 |
translation or execution (with the issuance of a diagnostic message).
|
| 13 |
-
Many
|
| 14 |
they are required to be diagnosed. Evaluation of a constant expression
|
| 15 |
[[expr.const]] never exhibits behavior explicitly specified as undefined
|
| 16 |
-
in [[intro]] through [[
|
| 17 |
|
|
|
|
| 2 |
|
| 3 |
behavior for which this document imposes no requirements
|
| 4 |
|
| 5 |
[*Note 1 to entry*: Undefined behavior may be expected when this
|
| 6 |
document omits any explicit definition of behavior or when a program
|
| 7 |
+
uses an incorrect construct or invalid data. Permissible undefined
|
| 8 |
behavior ranges from ignoring the situation completely with
|
| 9 |
unpredictable results, to behaving during translation or program
|
| 10 |
execution in a documented manner characteristic of the environment (with
|
| 11 |
+
or without the issuance of a
|
| 12 |
+
\termref{defns.diagnostic}{diagnostic message}), to terminating a
|
| 13 |
translation or execution (with the issuance of a diagnostic message).
|
| 14 |
+
Many incorrect program constructs do not engender undefined behavior;
|
| 15 |
they are required to be diagnosed. Evaluation of a constant expression
|
| 16 |
[[expr.const]] never exhibits behavior explicitly specified as undefined
|
| 17 |
+
in [[intro]] through [[\lastcorechapter]]. — *end note*]
|
| 18 |
|