'class' : template-class-id redefined as a typedef member of 'identifier'
There was an attempt to use the templated class as a typedef of identifier.