Bosch interview question

What is the smart pointer in c++?