When calling a template function, is it ok to omit the type after the function name?
As an example, consider the function
template
<typename T
> void f(T var){...};
Is it ok to simply call it like this:
int x = 5;
f(x);
or do I have to include the type?
int x = 5;
f<int
>(x);