Changeset 0c51c8b4 for doc/theses/jiada_liang_MMath/CEnum.tex
- Timestamp:
- Aug 6, 2024, 9:49:56 AM (25 hours ago)
- Branches:
- master
- Children:
- efd055c
- Parents:
- c03af31
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/CEnum.tex
rc03af31 r0c51c8b4 7 7 8 8 9 \section{ EnumeratorVisibility}10 \label{s: EnumeratorVisibility}9 \section{Visibility} 10 \label{s:CVisibility} 11 11 12 12 In C, unscoped enumerators present a \newterm{naming problem} when multiple enumeration types appear in the same scope with duplicate enumerator names. … … 42 42 43 43 44 \section{ EnumeratorScoping}44 \section{Scoping} 45 45 46 46 A C Enum can be scoped, using @'!'@, so the enumerator constants are not projected into the enclosing scope. … … 64 64 } 65 65 \end{cfa} 66 As in Section~\ref{s: EnumeratorVisibility}, opening multiple scoped enumerations in a @with@ can result in duplicate enumeration names, but \CFA implicit type resolution and explicit qualification/casting handle this localized scenario.66 As in Section~\ref{s:CVisibility}, opening multiple scoped enumerations in a @with@ can result in duplicate enumeration names, but \CFA implicit type resolution and explicit qualification/casting handle this localized scenario. 67 67 68 68 A partially implemented extension to enumerator scoping is providing a combination of scoped and unscoped enumerators, using individual denotations, where @'^'@ means unscoped.
Note: See TracChangeset
for help on using the changeset viewer.