Windcave Interview Question

Smart pointers, shared locks, inheritance with references