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