Use ‘class’ or ‘typename’ for template parameters? [duplicate]
Stan Lippman talked about this here. I thought it was interesting. Summary: Stroustrup originally used class to specify types in templates to avoid introducing a new keyword. Some in the committee worried that this overloading of the keyword led to confusion. Later, the committee introduced a new keyword typename to resolve syntactic ambiguity, and decided … Read more