- 6

About Templates

Template functions are great! but suddenly, that removes the strict side of language, and then here too, it was not thought for the simplest! the best would have been to consider that an argument was a T when it was not specified! (a, b) is simply type T and does not generate a compilation error.

15th Jul 2020, 12:58 PM
Alain Mazy
Alain Mazy - avatar
1 Answer
15th Jul 2020, 1:01 PM
Saphal Poudyal
Saphal Poudyal - avatar