I have a class A that is a template, and I want to specialize the method foo if the class is a std::vector with T generic, I am getting the error: invalid use of incomplete type