tmp/tmplyo2umfu/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,7 @@
|
|
| 1 |
-
## Boolean conversions <a id="conv.bool">[[conv.bool]]</a>
|
| 2 |
|
| 3 |
-
A prvalue of arithmetic, unscoped enumeration, pointer, or
|
| 4 |
-
member type can be converted to a prvalue of type `bool`. A
|
| 5 |
-
null pointer value, or null member pointer value is
|
| 6 |
-
`false`; any other value is converted to `true`.
|
| 7 |
-
direct-initialization ([[dcl.init]]), a prvalue of type
|
| 8 |
-
`std::nullptr_t` can be converted to a prvalue of type `bool`; the
|
| 9 |
-
resulting value is `false`.
|
| 10 |
|
|
|
|
| 1 |
+
### Boolean conversions <a id="conv.bool">[[conv.bool]]</a>
|
| 2 |
|
| 3 |
+
A prvalue of arithmetic, unscoped enumeration, pointer, or
|
| 4 |
+
pointer-to-member type can be converted to a prvalue of type `bool`. A
|
| 5 |
+
zero value, null pointer value, or null member pointer value is
|
| 6 |
+
converted to `false`; any other value is converted to `true`.
|
|
|
|
|
|
|
|
|
|
| 7 |
|