tmp/tmpf4ls4evb/{from.md → to.md}
RENAMED
|
@@ -7,26 +7,26 @@ can represent all the values of the source type; otherwise, the source
|
|
| 7 |
prvalue can be converted to a prvalue of type `unsigned int`.
|
| 8 |
|
| 9 |
A prvalue of type `char16_t`, `char32_t`, or `wchar_t` (
|
| 10 |
[[basic.fundamental]]) can be converted to a prvalue of the first of the
|
| 11 |
following types that can represent all the values of its underlying
|
| 12 |
-
type: `int`, `unsigned int`, `long
|
| 13 |
`long long int`, or `unsigned long long int`. If none of the types in
|
| 14 |
that list can represent all the values of its underlying type, a prvalue
|
| 15 |
of type `char16_t`, `char32_t`, or `wchar_t` can be converted to a
|
| 16 |
prvalue of its underlying type.
|
| 17 |
|
| 18 |
A prvalue of an unscoped enumeration type whose underlying type is not
|
| 19 |
fixed ([[dcl.enum]]) can be converted to a prvalue of the first of the
|
| 20 |
following types that can represent all the values of the enumeration
|
| 21 |
(i.e., the values in the range bₘin to bₘax as described in
|
| 22 |
-
[[dcl.enum]]): `int`, `unsigned int`, `long
|
| 23 |
-
`
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
[[conv.rank]]) greater than the rank of `long
|
| 28 |
values of the enumeration can be represented. If there are two such
|
| 29 |
extended types, the signed one is chosen.
|
| 30 |
|
| 31 |
A prvalue of an unscoped enumeration type whose underlying type is
|
| 32 |
fixed ([[dcl.enum]]) can be converted to a prvalue of its underlying
|
|
|
|
| 7 |
prvalue can be converted to a prvalue of type `unsigned int`.
|
| 8 |
|
| 9 |
A prvalue of type `char16_t`, `char32_t`, or `wchar_t` (
|
| 10 |
[[basic.fundamental]]) can be converted to a prvalue of the first of the
|
| 11 |
following types that can represent all the values of its underlying
|
| 12 |
+
type: `int`, `unsigned int`, `long int`, `unsigned long int`,
|
| 13 |
`long long int`, or `unsigned long long int`. If none of the types in
|
| 14 |
that list can represent all the values of its underlying type, a prvalue
|
| 15 |
of type `char16_t`, `char32_t`, or `wchar_t` can be converted to a
|
| 16 |
prvalue of its underlying type.
|
| 17 |
|
| 18 |
A prvalue of an unscoped enumeration type whose underlying type is not
|
| 19 |
fixed ([[dcl.enum]]) can be converted to a prvalue of the first of the
|
| 20 |
following types that can represent all the values of the enumeration
|
| 21 |
(i.e., the values in the range bₘin to bₘax as described in
|
| 22 |
+
[[dcl.enum]]): `int`, `unsigned int`, `long int`, `unsigned long int`,
|
| 23 |
+
`long long int`, or `unsigned long long int`. If none of the types in
|
| 24 |
+
that list can represent all the values of the enumeration, a prvalue of
|
| 25 |
+
an unscoped enumeration type can be converted to a prvalue of the
|
| 26 |
+
extended integer type with lowest integer conversion rank (
|
| 27 |
+
[[conv.rank]]) greater than the rank of `long long` in which all the
|
| 28 |
values of the enumeration can be represented. If there are two such
|
| 29 |
extended types, the signed one is chosen.
|
| 30 |
|
| 31 |
A prvalue of an unscoped enumeration type whose underlying type is
|
| 32 |
fixed ([[dcl.enum]]) can be converted to a prvalue of its underlying
|