Surprisingly, you actually are allowed to modify a std::string

(as long as you get a pointer to it in the right way)