mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
15 lines
366 B
C++
Executable File
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
|