Changeset 4d5c5b6a for doc/theses/fangren_yu_MMath/intro.tex
- Timestamp:
- Feb 11, 2025, 6:08:05 PM (6 weeks ago)
- Branches:
- master
- Children:
- 54cd1a51
- Parents:
- 3e5e32cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified doc/theses/fangren_yu_MMath/intro.tex ¶
r3e5e32cf r4d5c5b6a 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. & 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.