Pregunta de entrevista de Interactive Brokers

Modern c++ features, polymorhism, string replacement in place