I forgot to mention about these two Macros.
Please refer to the codes in memTest.h and memTest.cpp.
-----
class MemTestObj
{
#ifdef MEM_MGR_H
USE_MEM_MGR(MemTestObj);
#endif // MEM_MGR_H
...
};
-----
#ifdef MEM_MGR_H
MEM_MGR_INIT(MemTestObj);
#endif // MEM_MGR_H
-----
Hope you can understand what they mean. :)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.121.134.251