#include #include namespace Mem { int gHeapPools = false; // set to true to use debug heap instead of pools CCompactPool *CPoolable::sp_pool[POOL_STACK_SIZE] = {NULL,NULL}; bool CPoolable::s_internallyCreatedPool[POOL_STACK_SIZE] = {false,false}; int CPoolable::s_currentPool=0; PoolTest::PoolTest() { printf("created PoolTest object\n"); } PoolTest::~PoolTest() { printf("~PoolTest()\n"); } }