'class' : template-class-id redefined as a formal argument of a function
You cannot use a templated class as a formal argument. You cannot pass an argument directly to the constructor of a templated class.