'class' or 'typename' ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

'class' or 'typename' ?

I have seen some examples that uses class and typename keyword for making templates. Which one to use? Both is appropriate to use? https://code.sololearn.com/c7YH922zNFl4

13th Feb 2019, 6:11 PM
okan
okan - avatar
1 Answer
+ 1
They mean exactly the same, you can use both.
13th Feb 2019, 6:23 PM
Schindlabua
Schindlabua - avatar