Question d’entretien chez Bloomberg

How would you implement C++'s auto pointer?