Changeset 9bb6c5f for doc/theses/jiada_liang_MMath
- Timestamp:
- Sep 5, 2024, 3:57:05 PM (2 months ago)
- Branches:
- master
- Children:
- 29c8675
- Parents:
- ad47ec4 (diff), 508cff0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- doc/theses/jiada_liang_MMath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/Cenum.tex
rad47ec4 r9bb6c5f 87 87 \end{cfa} 88 88 89 Note, \CC has the same safe restriction~\cite[C.1.5.7.2]{C++} and provides the same workaround cast. 90 \begin{description}[parsep=0pt] 89 Note, \CC has the same safe restriction and provides the same workaround cast: 90 \begin{cquote} 91 \begin{description}[leftmargin=*,topsep=0pt,itemsep=0pt,parsep=0pt] 91 92 \item[Change:] \CC objects of enumeration type can only be assigned values of the same enumeration type. 92 93 In C, objects of enumeration type can be assigned values of any integral type. … … 102 103 \item[How widely used:] Common. 103 104 \end{description} 105 \hfill ISO/IEC 14882:1998 (\CC Programming Language Standard)~\cite[C.1.5.7.2.5]{ANSI98:C++} 106 \end{cquote} -
doc/theses/jiada_liang_MMath/relatedwork.tex
rad47ec4 r9bb6c5f 353 353 whereas C @const@ declarations without @static@ are marked @R@. 354 354 355 The following \CC non-backward compatible change is made~\cite[C.1.5.7.2]{C++}, plus the safe-assignment change shown in~\VRef{s:TypeSafety}. 356 \begin{description}[parsep=0pt] 355 The following \CC non-backward compatible change is made, plus the safe-assignment change shown in~\VRef{s:TypeSafety}. 356 \begin{cquote} 357 \begin{description}[leftmargin=*,topsep=0pt,itemsep=0pt,parsep=0pt] 357 358 \item[Change:] In \CC, the type of an enumerator is its enumeration. 358 359 In C, the type of an enumerator is @int@. … … 370 371 Taking the size of an enumerator is not a common C coding practice. 371 372 \end{description} 373 \hfill ISO/IEC 14882:1998 (\CC Programming Language Standard)~\cite[C.1.5.7.2.6]{ANSI98:C++} 374 \end{cquote} 372 375 Hence, the values in a \CC enumeration can only be its enumerators (without a cast). 373 376
Note: See TracChangeset
for help on using the changeset viewer.