std::string to const std::string &