Closed evandrocoan closed 4 years ago
No, they're equivalent in this context. typename
is just longer.
I'm not sure there's anything really useful to change here, so I'll close this.
I agree that typename
is more accurate terminology. But given that it's twice as long I tend to default to class
instead for template type parameters.
Should
typename
to be more generic thanclass
?https://github.com/c42f/tinyformat/blob/705e3f4e1de922069bf715746d35bd2364b1f98f/tinyformat.h#L418