tmp/tmp6f3tm9s2/{from.md → to.md}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
### Clause [[temp]]: templates <a id="diff.cpp03.temp">[[diff.cpp03.temp]]</a>
|
| 2 |
|
| 3 |
-
[[temp.param]] **Change:** Remove `export` **Rationale:** No
|
| 4 |
implementation consensus. **Effect on original feature:** A valid
|
| 5 |
C++03declaration containing `export` is ill-formed in this International
|
| 6 |
Standard.
|
| 7 |
|
| 8 |
[[temp.arg]] **Change:** Remove whitespace requirement for nested
|
| 9 |
-
closing template right angle brackets **Rationale:** Considered a
|
| 10 |
-
persistent but minor annoyance. Template aliases representing
|
| 11 |
types would exacerbate whitespace issues. **Effect on original
|
| 12 |
feature:** Change to semantics of well-defined expression. A valid
|
| 13 |
C++03expression containing a right angle bracket (“`>`”) followed
|
| 14 |
immediately by another right angle bracket may now be treated as closing
|
| 15 |
two templates. For example, the following code is valid in C++03because
|
|
@@ -21,10 +21,10 @@ template <class T> struct X { };
|
|
| 21 |
template <int N> struct Y { };
|
| 22 |
X< Y< 1 >> 2 > > x;
|
| 23 |
```
|
| 24 |
|
| 25 |
[[temp.dep.candidate]] **Change:** Allow dependent calls of functions
|
| 26 |
-
with internal linkage **Rationale:** Overly constrained, simplify
|
| 27 |
overload resolution rules. **Effect on original feature:** A valid
|
| 28 |
C++03program could get a different result than this International
|
| 29 |
Standard.
|
| 30 |
|
|
|
|
| 1 |
### Clause [[temp]]: templates <a id="diff.cpp03.temp">[[diff.cpp03.temp]]</a>
|
| 2 |
|
| 3 |
+
[[temp.param]] **Change:** Remove `export`. **Rationale:** No
|
| 4 |
implementation consensus. **Effect on original feature:** A valid
|
| 5 |
C++03declaration containing `export` is ill-formed in this International
|
| 6 |
Standard.
|
| 7 |
|
| 8 |
[[temp.arg]] **Change:** Remove whitespace requirement for nested
|
| 9 |
+
closing template right angle brackets. **Rationale:** Considered a
|
| 10 |
+
persistent but minor annoyance. Template aliases representing non-class
|
| 11 |
types would exacerbate whitespace issues. **Effect on original
|
| 12 |
feature:** Change to semantics of well-defined expression. A valid
|
| 13 |
C++03expression containing a right angle bracket (“`>`”) followed
|
| 14 |
immediately by another right angle bracket may now be treated as closing
|
| 15 |
two templates. For example, the following code is valid in C++03because
|
|
|
|
| 21 |
template <int N> struct Y { };
|
| 22 |
X< Y< 1 >> 2 > > x;
|
| 23 |
```
|
| 24 |
|
| 25 |
[[temp.dep.candidate]] **Change:** Allow dependent calls of functions
|
| 26 |
+
with internal linkage. **Rationale:** Overly constrained, simplify
|
| 27 |
overload resolution rules. **Effect on original feature:** A valid
|
| 28 |
C++03program could get a different result than this International
|
| 29 |
Standard.
|
| 30 |
|