// demonstrate the calling of memory accesses
#include "classpool.h"
int main() {
// ClassPool::new
ClassPool *p1 = new ClassPool;
ClassPool *p2 = new ClassPool;
ClassPool *p3 = new ClassPool;
// ClassPool::delete
delete p1;
delete p2;
delete p3;
ClassPool::release_all();
// ::new
int *p = new int;
// ::delete
delete p;
}