C++ Garbage Collector System