Changeset b9b8643
- Timestamp:
- Sep 19, 2024, 7:42:04 AM (3 weeks ago)
- Branches:
- master
- Children:
- 07dbcba
- Parents:
- 0185b68
- Location:
- doc/theses/jiada_liang_MMath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/conclusion.tex
r0185b68 rb9b8643 13 13 Enumeration traits define the meaning of an enumeration, allowing functions to be written that work on any enumeration, such as the reading and printing of an enumeration. 14 14 With advanced structural typing, C enumerations can be extended so they work with all of the enumeration features, providing for legacy C code to be moved forward into the modern \CFA programming domain. 15 Finally, the \CFA project's test suite has been expanded with multiple enumeration feature stests with respect to implicit conversions, control structures, inheritance, interaction with the polymorphic types, and the features built on top of enumeration traits.15 Finally, the \CFA project's test suite has been expanded with multiple enumeration feature tests with respect to implicit conversions, control structures, inheritance, interaction with the polymorphic types, and the features built on top of enumeration traits. 16 16 These tests ensure future \CFA work does not accidentally break the new enumeration system. 17 17 -
doc/theses/jiada_liang_MMath/relatedwork.tex
r0185b68 rb9b8643 559 559 \end{Go} 560 560 Typing the first constant and implicit initializing is still not an enumeration because there is no unique type for the constant block; 561 Nothing stops other constant blocks from being of the same type.561 nothing stops other constant blocks from being of the same type. 562 562 563 563 Each @const@ declaration provides an implicit \emph{compile-time} integer counter starting at @0@, called \lstinline[language=Go]{iota}, which is post-incremented after each constant declaration.
Note: See TracChangeset
for help on using the changeset viewer.