N
nietoperz34
Welcome. What better use in templates C++? Typename or class?
Better yes:
template <class T1, class T2>
T1 function(T2 argument);
Or better yes:
template <typename T1, typename T2>
T1 function(T2 argument);
Better yes:
template <class T1, class T2>
T1 function(T2 argument);
Or better yes:
template <typename T1, typename T2>
T1 function(T2 argument);