Visa Inc. interview question

How would you implement a unique pointer