Interactive Brokers interview question

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