以map为例:
map<T1,T2> ClassName::ClassMember = map<T1,T2>();
其他同理,比如:
vector<ClassName> ClassName::ClassMenber(0);
对于指针:
ClassName* ClassName::PointerName = nullptr;
以map为例:
map<T1,T2> ClassName::ClassMember = map<T1,T2>();
其他同理,比如:
vector<ClassName> ClassName::ClassMenber(0);
对于指针:
ClassName* ClassName::PointerName = nullptr;