int webServerPort = -1;
void configure(std::string responseFile, callback_function call_back, std::string urlRegex = NULL) {
std::string url = "http://0.0.0.0:" + webServerPort + "fake_settings/?file=" + responseFile;
if(urlRegex != NULL) { // GOT ERROR HERE
url += "&pattern=" + urlRegex;
}
得到一个错误,实际上它不是称为“错误”而是“注释”
错误说:注意:'std::string {aka std::basic_string}' 不是从 'const __gnu_cxx::__normal_iterator<_IteratorL, _Container>' 派生的
有人知道吗?
谢谢