Files
cocos4/native/cocos/base/memory/AllocatedObj.cpp
T
2020-07-22 15:00:28 +08:00

15 lines
366 B
C++
Executable File

#include "MemDef.h"
#include "AllocatedObj.h"
namespace cc {
/*
The problem is that operator new/delete are *implicitly* static. We have to
instantiate them for each combination exactly once throughout all the compilation
units that are linked together, and this appears to be the only way to do it.
*/
template class AllocatedObject<GAP>;
} // namespace cc