tmp/tmp9er3zpzo/{from.md → to.md}
RENAMED
|
@@ -1,39 +1,36 @@
|
|
| 1 |
##### Standard conversion sequences <a id="over.ics.scs">[[over.ics.scs]]</a>
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
Conversion.
|
| 7 |
|
| 8 |
-
[*Note
|
| 9 |
category, cv-qualification, and data representation: the Lvalue
|
| 10 |
Transformations do not change the cv-qualification or data
|
| 11 |
representation of the type; the Qualification Adjustments do not change
|
| 12 |
the value category or data representation of the type; and the
|
| 13 |
Promotions and Conversions do not change the value category or
|
| 14 |
cv-qualification of the type. — *end note*]
|
| 15 |
|
| 16 |
-
[*Note
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
Adjustment**. — *end note*]
|
| 23 |
|
| 24 |
-
Each conversion in
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
rank.
|
| 33 |
|
| 34 |
-
**Table: Conversions** <a id="
|
| 35 |
|
| 36 |
| Conversion | Category | Rank | Subclause |
|
| 37 |
| ----------------------- | -------- | ---- | ----------------- |
|
| 38 |
| No conversions required | Identity | | |
|
| 39 |
| Integral promotions | | | [[conv.prom]] |
|
|
|
|
| 1 |
##### Standard conversion sequences <a id="over.ics.scs">[[over.ics.scs]]</a>
|
| 2 |
|
| 3 |
+
summarizes the conversions defined in [[conv]] and partitions them into
|
| 4 |
+
four disjoint categories: Lvalue Transformation, Qualification
|
| 5 |
+
Adjustment, Promotion, and Conversion.
|
|
|
|
| 6 |
|
| 7 |
+
[*Note 6*: These categories are orthogonal with respect to value
|
| 8 |
category, cv-qualification, and data representation: the Lvalue
|
| 9 |
Transformations do not change the cv-qualification or data
|
| 10 |
representation of the type; the Qualification Adjustments do not change
|
| 11 |
the value category or data representation of the type; and the
|
| 12 |
Promotions and Conversions do not change the value category or
|
| 13 |
cv-qualification of the type. — *end note*]
|
| 14 |
|
| 15 |
+
[*Note 7*: As described in [[conv]], a standard conversion sequence
|
| 16 |
+
either is the Identity conversion by itself (that is, no conversion) or
|
| 17 |
+
consists of one to three conversions from the other four categories. If
|
| 18 |
+
there are two or more conversions in the sequence, the conversions are
|
| 19 |
+
applied in the canonical order: **Lvalue Transformation**, **Promotion**
|
| 20 |
+
or **Conversion**, **Qualification Adjustment**. — *end note*]
|
|
|
|
| 21 |
|
| 22 |
+
Each conversion in [[over.ics.scs]] also has an associated rank (Exact
|
| 23 |
+
Match, Promotion, or Conversion). These are used to rank standard
|
| 24 |
+
conversion sequences [[over.ics.rank]]. The rank of a conversion
|
| 25 |
+
sequence is determined by considering the rank of each conversion in the
|
| 26 |
+
sequence and the rank of any reference binding [[over.ics.ref]]. If any
|
| 27 |
+
of those has Conversion rank, the sequence has Conversion rank;
|
| 28 |
+
otherwise, if any of those has Promotion rank, the sequence has
|
| 29 |
+
Promotion rank; otherwise, the sequence has Exact Match rank.
|
|
|
|
| 30 |
|
| 31 |
+
**Table: Conversions** <a id="over.ics.scs">[over.ics.scs]</a>
|
| 32 |
|
| 33 |
| Conversion | Category | Rank | Subclause |
|
| 34 |
| ----------------------- | -------- | ---- | ----------------- |
|
| 35 |
| No conversions required | Identity | | |
|
| 36 |
| Integral promotions | | | [[conv.prom]] |
|