tmp/tmprwkhnhwb/{from.md → to.md}
RENAMED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
### Clause [[dcl.decl]]: declarators <a id="diff.cpp03.dcl.decl">[[diff.cpp03.dcl.decl]]</a>
|
| 2 |
-
|
| 3 |
-
[[dcl.init.list]] **Change:** Narrowing restrictions in aggregate
|
| 4 |
-
initializers. **Rationale:** Catches bugs. **Effect on original
|
| 5 |
-
feature:** Valid C++03code may fail to compile in this International
|
| 6 |
-
Standard. For example, the following code is valid in C++03but invalid
|
| 7 |
-
in this International Standard because `double` to `int` is a narrowing
|
| 8 |
-
conversion:
|
| 9 |
-
|
| 10 |
-
``` cpp
|
| 11 |
-
int x[] = { 2.0 };
|
| 12 |
-
```
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|