Track memory used by Tool in an auto_ptr