BGC Group interview question

implement auto_ptr ?