dimanche 10 septembre 2017

VS 2015: error C2899: typename cannot be used outside a template declaration

According to this thread: error C2899: typename cannot be used outside a template declaration

....in C++11, this restriction has been lifted, and the use of typename is allowed but not required in non-template contexts.

Is VS2015 not C++11 compliant? How can I work round this?

 error C2899: typename cannot be used outside a template declaration

Aucun commentaire:

Enregistrer un commentaire