Hello!
I have a doubt in templates. What is the difference between
template< typename t> and template< class t> ?
And how to decide which one to be use?
Hello!
I have a doubt in templates. What is the difference between
template< typename t> and template< class t> ?
And how to decide which one to be use?
hello @meer
They’re equivalent and interchangeable for most of the times.
some prefer typename because using the keyword class in that context seems confusing.
Ohkay! Thankyou for clearing the doubt