What is the correct syntax for declaring a template function in C++?
template T function_name(T a, T b);
function_name(T template) { ... };
template (typename T) T function_name(T a, T b);
T template function_name(T a, T b);

Programming Languages Exercises are loading ...