'class' : template-class-id redefined as an enumerate of 'enum identifier'
There was an attempt to use the templated class as a member of the enumeration identifier. Make sure that the curly braces ({}) in this area are properly matched.