Flow Traders interview question

RAII, CRTP, ADL, atomics, object memory layout, stack with max element