Do compile the cpp file and get some test. Delete the field 'm_size' from the class AUTO_PTR.