I am using templates, where I instantiate the template for int unsigned types.
Now I want to add another constructor which has a parameter of type int at the same place where the template instantiation for int type has. So there is collision. But I want these two constructors for different implementation.
Example :
template<type>
const1( int a , string b, type c)
{
//Implementation 1
}
The template is instantiated for int , unsigned types. When Instantiated for int type, it is having collision with below implementation where the third parameter is not of a template type but a primitive datatype int
const1(inta, string b, int d)
{
//Implementation 2
}
I really gated here. It would really great if anybody can provide me solution for the above problem.
Thanks in advance
-Nilesh.
