Changeset 299b8b2 for doc/theses/andrew_beach_MMath/features.tex
- Timestamp:
- May 17, 2021, 9:43:45 AM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fc1347d0
- Parents:
- 9d7e5cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/features.tex
r9d7e5cb r299b8b2 24 24 25 25 Some well known examples include the @throw@ statements of \Cpp and Java and 26 the \code Py{raise} statement from Python. In real systems a raise may preform27 some other work (such as memory management) but for the purposes of this 28 overview that can be ignored.26 the \code{Python}{raise} statement from Python. In real systems a raise may 27 preform some other work (such as memory management) but for the 28 purposes of this overview that can be ignored. 29 29 30 30 \subparagraph{Handle} … … 93 93 A handler labelled with any given exception can handle exceptions of that 94 94 type or any child type of that exception. The root of the exception hierarchy 95 (here \code C{exception}) acts as a catch-all, leaf types catch single types95 (here \code{C}{exception}) acts as a catch-all, leaf types catch single types 96 96 and the exceptions in the middle can be used to catch different groups of 97 97 related exceptions. … … 182 182 While much of the virtual infrastructure is created, it is currently only used 183 183 internally for exception handling. The only user-level feature is the virtual 184 cast, which is the same as the \Cpp \code Cpp{dynamic_cast}.184 cast, which is the same as the \Cpp \code{C++}{dynamic_cast}. 185 185 \label{p:VirtualCast} 186 186 \begin{cfa}
Note: See TracChangeset
for help on using the changeset viewer.