Ignore:
Timestamp:
Aug 8, 2024, 11:19:51 PM (10 hours ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
f125e96
Parents:
7568e5c
Message:

rephrase enum initialization

File:
1 edited

Legend:

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

    r7568e5c racab1bd  
    3131It should be possible to have this file included implicitly by updating the \CFA prelude.
    3232\item
    33 There are multiple \CFA features being developed i parallel with enumerations.
     33There are multiple \CFA features being developed in parallel with enumerations.
    3434Two closely related features are iterator and namespace.
    3535Enumerations may have to be modified to dovetail with these features.
     
    5050enum( wchar_t * ) { Jack = L"John" };
    5151\end{cfa}
    52 There are several new features have been proposed or are developing in parallel with enumerations.
    53 Two closely related features are iterator and namespace.
    54 
    55 Enumerating features, and range loops in particular, are currently implemented as loops unique to \CFA enumeration and do not align with the
    56 general iterator pattern. They can be adapted to the iterator interface when it comes to maturity.
    57 
    58 Currently, \CFA implements a namespace feature for enumerated types only. There is recently a proposal by Andrew to
    59 generalize the concept of namespace to other types. The enumeration scope will be revisited to follow the same semantics
    60 as other types. Also to improve the granularity of scope control, we propose the following extension:
     52\item
     53Currently enumeration scoping is all or nothing. In some cases, it might be useful to
     54increase the scoping granularity to individual enumerators.
    6155\begin{cfa}
    6256enum E1 { @!@A, @^@B, C };
Note: See TracChangeset for help on using the changeset viewer.