This code defines a new operator new in C++ such that the memory returned is in the shared memory segment rather on the heap.
This code exists to prove a point. "Objectifying" shared memory.
One can not overload the new operator but one can overload operator new.
Reference the C++ book by Scott Meyers