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