New course! Every coder should learn Generative AI!
Try a free lesson0
What the difference btwn class and typename?
2 Answers
+ 1
class is used to code objects but typename is used in templates
+ 1
If a typename is the same as a typedef struct you can't put functions in the typenames.