Domanda di colloquio di Morgan Stanley

What is smart pointer, how is it implemented.