tmp/tmp00qwtw3_/{from.md → to.md}
RENAMED
|
@@ -1,16 +0,0 @@
|
|
| 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() {
|
| 13 |
-
f(0*N); // calls #2; used to call #1
|
| 14 |
-
}
|
| 15 |
-
```
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|