[UE4]定义静态TMap的形式

[UE4]定义静态TMap的方式

h

static TMap<int32, MyType*> MyMap;

 

 

cpp

TMap<int32, MyType*> MyClass::MyMap = TMap<int32, MyType*>();