Compiler Error C2921

redefinition : 'class' : template class is being redeclared as 'identifier'

There is more than one declaration of class, and the declarations are not equivalent.