Changes in / [691bf0a:54cd1a51]
- Location:
- doc/theses/fangren_yu_MMath
- Files:
-
- 2 added
- 1 edited
-
intro.tex (modified) (2 diffs)
-
test.adb (added)
-
test.swift (added)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/fangren_yu_MMath/intro.tex
r691bf0a r54cd1a51 185 185 \centering 186 186 187 % https://doc.rust-lang.org/rust-by-example/trait/impl_trait.html 188 % https://dl.acm.org/doi/10.1145/75277.75283 187 189 188 190 \begin{minipage}{0.75\textwidth} … … 191 193 \hline 192 194 Oper./Func./Meth. name & O\footnote{except assignment}/F & O/F/M & O/F & M & O/M & O/F/M \\ 193 \# of parameters& yes & yes & yes & yes & yes & yes \\195 parameter number & yes & yes & yes & yes & yes & yes \\ 194 196 parameter types & yes & yes & yes & yes & yes & yes \\ 195 parameter Order/Name & O/N & O & O & O & O/N & O/N\\197 parameter name & no & no & no & no & yes & yes \\ 196 198 return type & yes & no & yes & no & no & yes \\ 197 Safe/Unsafe arg. conv. & & yes\footnote{no conversions allowed during template parameter deduction} & S/U & S\footnote{unsafe (narrowing) conversion only allowed in assignment or initialization to a primitive variable} & S & no\footnote{literals only, Int -> Double (Safe)} \\198 generic & & yes\footnote{compile-time only, using template expansion} & yes & yes & yes & yes199 Safe/Unsafe arg. conv. & none & yes\footnote{no conversions allowed during template parameter deduction} & S/U & S\footnote{unsafe (narrowing) conversion only allowed in assignment or initialization to a primitive variable} & S & no\footnote{literals only, Int -> Double (Safe)} \\ 200 generic & no & yes\footnote{compile-time only, using template expansion} & yes & yes & yes & yes 199 201 \end{tabular} 200 202 \end{minipage}
Note:
See TracChangeset
for help on using the changeset viewer.