Changeset cb4d825 for doc/rob_thesis
- Timestamp:
- Mar 27, 2017, 4:54:31 PM (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:
- 656ee4f
- Parents:
- 58d246a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/rob_thesis/tuples.tex
r58d246a rcb4d825 87 87 Multiple return values are declared as a comma-separated list of types in square brackets in the same location that the return type appears in standard C function declarations. 88 88 The ability to return multiple values from a function requires a new syntax for the return statement. 89 For consistency, the return statement in \CFA accepts a comm on-separated list of expressions in square brackets.89 For consistency, the return statement in \CFA accepts a comma-separated list of expressions in square brackets. 90 90 The expression resolution phase of the \CFA translator ensures that the correct form is used depending on the values being returned and the return type of the current function. 91 91 A multiple-returning function with return type @T@ can return any expression that is implicitly convertible to @T@.
Note: See TracChangeset
for help on using the changeset viewer.