R
rush.william
Hello All!
There is following code:
template < class T >
void f(T const & value)
{
};
Is there any way to force user to specify template parameters
explicitly? I want to do the following:
f<int>(1); // Normal
f(1); // This should give an error
Any ideas?...
WBR
There is following code:
template < class T >
void f(T const & value)
{
};
Is there any way to force user to specify template parameters
explicitly? I want to do the following:
f<int>(1); // Normal
f(1); // This should give an error
Any ideas?...
WBR