tmp/tmp48izvr97/{from.md → to.md}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
### Clause [[conv]]: standard conversions <a id="diff.cpp03.conv">[[diff.cpp03.conv]]</a>
|
| 2 |
|
| 3 |
[[conv.ptr]] **Change:** Only literals are integer null pointer
|
| 4 |
-
constants **Rationale:** Removing surprising interactions with
|
| 5 |
-
and constant expressions **Effect on original feature:**
|
| 6 |
-
may fail to compile or produce different results in this
|
| 7 |
-
Standard, as the following example illustrates:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
void f(void *); // #1
|
| 11 |
void f(...); // #2
|
| 12 |
template<int N> void g() {
|
|
|
|
| 1 |
### Clause [[conv]]: standard conversions <a id="diff.cpp03.conv">[[diff.cpp03.conv]]</a>
|
| 2 |
|
| 3 |
[[conv.ptr]] **Change:** Only literals are integer null pointer
|
| 4 |
+
constants. **Rationale:** Removing surprising interactions with
|
| 5 |
+
templates and constant expressions. **Effect on original feature:**
|
| 6 |
+
Valid C++03code may fail to compile or produce different results in this
|
| 7 |
+
International Standard, as the following example illustrates:
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
void f(void *); // #1
|
| 11 |
void f(...); // #2
|
| 12 |
template<int N> void g() {
|