+ 6

Is it completely equivalent use of "class" or "typename" in the template definition?

It is not clear if the two keywords are equivalent or if there is any difference. template <class T> template <typename T> Why in SoloLearn it is used the keyword "class"?

15th Jul 2017, 5:34 PM
Diego
Diego - avatar
2 Antworten
+ 4
Thanks aklex.
15th Jul 2017, 6:10 PM
Diego
Diego - avatar