include memory for auto_ptr