#include <vector>
using namespace std;template<class t>
class g
{
    int i;
};template<class Type>
class f
{
    typedef g<Type> Gt;
    static vector<Gt *> List_head;
    static vector<Type> List_name;
public:
f()
{
List_head.push_back(&g<Type>());
}
};void main()
{
f<char> f;
}
vc报错:
ff.obj : error LNK2001: unresolved external symbol "private: static class std::vector<class g<char> *,class std::allocator<class g<char> *> >  f<char>::List_head" (?List_head@?$f@D@@0V?$vector@PAV?$g@D@@V?$allocator@PAV?$g@D@@@std@@@std@@A)