Pregunta de entrevista de Barclays

How are smart pointers implemented, what is RAII