- Timestamp:
- Jul 13, 2017, 11:48:01 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:
- 35b06a8, 578e6037
- Parents:
- 3f5a28b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
r3f5a28b re9a3c69d 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Thu Jul 13 07:08:58201714 %% Update Count : 26 7313 %% Last Modified On : Thu Jul 13 11:44:57 2017 14 %% Update Count : 2690 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 501 501 502 502 503 \section{ Labelled Continue/Break}503 \section{\texorpdfstring{Labelled \LstKeywordStyle{continue} / \LstKeywordStyle{break}}{Labelled continue / break}} 504 504 505 505 While C provides ©continue© and ©break© statements for altering control flow, both are restricted to one level of nesting for a particular control structure. … … 633 633 634 634 635 \section{ Switch Statement}635 \section{\texorpdfstring{\LstKeywordStyle{switch} Statement}{switch Statement}} 636 636 637 637 C allows a number of questionable forms for the ©switch© statement: … … 838 838 839 839 840 \section{ Case Clause}840 \section{\texorpdfstring{\LstKeywordStyle{case} Clause}{case Clause}} 841 841 842 842 C restricts the ©case© clause of a ©switch© statement to a single value. … … 914 914 915 915 916 \section{\ protect\lstinline{with} Clause / Statement}916 \section{\texorpdfstring{\LstKeywordStyle{with} Clause / Statement}{with Clause / Statement}} 917 917 \label{s:WithClauseStatement} 918 918 … … 921 921 class C { 922 922 int i, j; 923 int mem() { 923 int mem() { ®// implicit "this" parameter 924 924 i = 1; ®// this->i 925 925 ® j = 3; ®// this->j … … 932 932 int i, j; 933 933 }; 934 int mem( C &this ) { 935 ®this.®i = 1; // "this" is not elided934 int mem( C &this ) { // explicit "this" parameter 935 ®this.®i = 1; // "this" is not elided 936 936 ®this.®j = 2; 937 937 } … … 964 964 ®with s1® { 965 965 // access fields of s1 without qualification 966 ®with s2® { // nesting966 ®with s2® { // nesting 967 967 // access fields of s2 without qualification 968 968 } … … 987 987 } 988 988 \end{cfa} 989 989 990 990 991 \section{Exception Handling} … … 1221 1222 1222 1223 1223 \section{Pointer /Reference}1224 \section{Pointer / Reference} 1224 1225 1225 1226 C provides a \newterm{pointer type}; … … 5343 5344 5344 5345 5345 \section{\ CFA Keywords}5346 \section{\texorpdfstring{\CFA Keywords}{Cforall Keywords}} 5346 5347 \label{s:CFAKeywords} 5347 5348
Note: See TracChangeset
for help on using the changeset viewer.