tmp/tmpi7mp_ei7/{from.md → to.md}
RENAMED
|
@@ -10,17 +10,17 @@ assertions and a mechanism for disabling the assertion checks.
|
|
| 10 |
```
|
| 11 |
|
| 12 |
The contents are the same as the C standard library header `<assert.h>`,
|
| 13 |
except that a macro named `static_assert` is not defined.
|
| 14 |
|
| 15 |
-
ISO C
|
| 16 |
|
| 17 |
### The `assert` macro <a id="assertions.assert">[[assertions.assert]]</a>
|
| 18 |
|
| 19 |
-
An expression `assert(E)` is a constant subexpression
|
| 20 |
-
[[defns.const.subexpr]]
|
| 21 |
|
| 22 |
- `NDEBUG` is defined at the point where `assert` is last defined or
|
| 23 |
redefined, or
|
| 24 |
-
- `E` contextually converted to `bool`
|
| 25 |
subexpression that evaluates to the value `true`.
|
| 26 |
|
|
|
|
| 10 |
```
|
| 11 |
|
| 12 |
The contents are the same as the C standard library header `<assert.h>`,
|
| 13 |
except that a macro named `static_assert` is not defined.
|
| 14 |
|
| 15 |
+
See also: ISO C 7.2
|
| 16 |
|
| 17 |
### The `assert` macro <a id="assertions.assert">[[assertions.assert]]</a>
|
| 18 |
|
| 19 |
+
An expression `assert(E)` is a constant subexpression
|
| 20 |
+
[[defns.const.subexpr]], if
|
| 21 |
|
| 22 |
- `NDEBUG` is defined at the point where `assert` is last defined or
|
| 23 |
redefined, or
|
| 24 |
+
- `E` contextually converted to `bool` [[conv]] is a constant
|
| 25 |
subexpression that evaluates to the value `true`.
|
| 26 |
|