S
subramanian100in
consider
template<T i> class Test
{
//...
};
Here 'T' should only be int. ie we can only have
template<int i> class Test
{
//...
};
But NOT
template<char i> class Test
{
//...
};
Am I correct ?
Kindly clarify.
Thanks
V.Subramanian
template<T i> class Test
{
//...
};
Here 'T' should only be int. ie we can only have
template<int i> class Test
{
//...
};
But NOT
template<char i> class Test
{
//...
};
Am I correct ?
Kindly clarify.
Thanks
V.Subramanian