Pergunta de entrevista da empresa Morgan Stanley

What is smart pointer, how is it implemented.