From Jason Turner

[diff.cpp03.conv]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpw5qw76ny/{from.md → to.md} +16 -0
tmp/tmpw5qw76ny/{from.md → to.md} RENAMED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 templates
5
+ and constant expressions **Effect on original feature:** Valid C++03code
6
+ may fail to compile or produce different results in this International
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() {
13
+ f(0*N); // calls #2; used to call #1
14
+ }
15
+ ```
16
+