This shows you the differences between two versions of the page.
|
in204:tds:sujets:td12_2023:part1 [2023/12/04 11:21] bmonsuez created |
in204:tds:sujets:td12_2023:part1 [2023/12/05 09:19] (current) bmonsuez [Question 2.2] |
||
|---|---|---|---|
| Line 130: | Line 130: | ||
| <hidden Correction> | <hidden Correction> | ||
| + | <code cpp> | ||
| template<class T> | template<class T> | ||
| void print(T first_argument) | void print(T first_argument) | ||
| Line 144: | Line 145: | ||
| print(arguments...); | print(arguments...); | ||
| } | } | ||
| + | </code> | ||
| </hidden> | </hidden> | ||