educative.io

Educative

Difference between typename or class

Hi, what’s the difference between “typename” and “class” while defining types for a templates?

Thanks.

Hi @Pankaj_Singh

I hope this blog post and this Stack Overflow answer might help.