File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 730
730
731
731
\pnum
732
732
\indextext {type!similar|see{similar types}}%
733
- Two types $ \tcode {T}_ 1 $ and $ \tcode {T}_ 2 $ are \defnx {similar}{similar types} if
733
+ Two types \tcode {T1} and \tcode {T2} are \defnx {similar}{similar types} if
734
734
they have cv-decompositions with the same $ n$
735
735
such that corresponding $ P_i$ components are either the same
736
736
or one is `` array of $ N_i$ '' and the other is `` array of unknown bound of'' ,
752
752
or the resulting $ P^3 _i$ is different from $ P^1 _i$ or $ P^2 _i$ ,
753
753
then \tcode {const} is added to every $ \cv {}^3 _k$ for $ 0 < k < i$ .
754
754
\end {itemize }
755
- A prvalue of type $ \tcode {T}_1 $
756
- can be converted to type $ \tcode {T}_2 $
757
- if the cv-combined type of $ \tcode {T}_1 $ and $ \tcode {T}_2 $ is $ \tcode {T}_2 $ .
755
+ where $ \cv {}^j_i$ and $ P^j_i$ are the components of
756
+ the cv-decomposition of $ \tcode {T}j$ .
757
+ A prvalue of type \tcode {T1}
758
+ can be converted to type \tcode {T2}
759
+ if the cv-combined type of \tcode {T1} and \tcode {T2} is \tcode {T2}.
758
760
\begin {note }
759
761
If a program could assign a pointer of type \tcode {T**} to a pointer of
760
762
type \tcode {const} \tcode {T**} (that is, if line \# 1 below were
You can’t perform that action at this time.
0 commit comments