new
delete
malloc()
void*
stdlib.h
free()
testClass
#include <stdlib.h> //malloc() and free() defined class testClass { public: void* operator new(size_t size); void operator delete(void* ptr); testClass(unsigned size) { new(size); } ~testClass() { delete(this); } ..... };
new()
::
class new()
delete()
static
this
testClass class