Is there a way to get a const char * from a std::string::iterator when iterating over a std::string?