Barclays Interview Question

questions about smart pointers.