Pergunta

Possible Duplicate:
C++ difference of keywords ‘typename’ and ‘class’ in templates

Is there any point/advantage to using:

<class T>

as opposed to:

<typename T>

in C++?

Foi útil?

Solução

There is no difference. The two can be used interchangeably.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top