- Timestamp:
- Jun 16, 2017, 11:41:31 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f13ee31
- Parents:
- 35ba584c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/proposals/tagged-struct.txt
r35ba584c r974bcdd 3 3 Tagged structures allow for dynamic casting between types in a hierarchy. 4 4 Children (rather pointers to) can be up-cast to their parents, a safe 5 conversion that may recive language level support or even be implic ate.5 conversion that may recive language level support or even be implicit. 6 6 Parents can be down cast to their children, which might fail if the underlying 7 7 object is not of the child type, or a child of that. … … 23 23 24 24 The keywords can change (although they currently reflect the concept name 25 closely). More formally, in terms of gramm er this adds:25 closely). More formally, in terms of grammar this adds: 26 26 27 27 struct-or-union-specifier
Note: See TracChangeset
for help on using the changeset viewer.