Globant Interview Question

How would I implement an unique pointer.