Ignore:
Timestamp:
Sep 4, 2024, 5:35:55 PM (4 hours ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Parents:
737bf73
Message:

fix quotations from C++ reference manual

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/jiada_liang_MMath/relatedwork.tex

    r737bf73 r508cff0  
    353353whereas C @const@ declarations without @static@ are marked @R@.
    354354
    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]
     355The 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]
    357358\item[Change:] In \CC, the type of an enumerator is its enumeration.
    358359In C, the type of an enumerator is @int@.
     
    370371Taking the size of an enumerator is not a common C coding practice.
    371372\end{description}
     373\hfill ISO/IEC 14882:1998 (\CC Programming Language Standard)~\cite[C.1.5.7.2.6]{ANSI98:C++}
     374\end{cquote}
    372375Hence, the values in a \CC enumeration can only be its enumerators (without a cast).
    373376
Note: See TracChangeset for help on using the changeset viewer.