0
<typename T> vs <class T>
I know I just posted another question. Bear with me. Lol So in the c++ templates tutorial, they mention the existence of another definition, where instead of using <class T>, you can use <typename T>. All that is said about typename is that typename and class are similar. What's the difference between the two? Please provide examples if possible.
1 Odpowiedź