我编写了以下代码:(2) g++ 4.4.7在centos6 (64位)上(4) cygwinError while converting Id (0x210000000).但(2)和(3)返回success
所以问题是为什么同一个简单的C代码构建在不同的平台上,不同的编译器返回相同的结果.以及为什么‘strtoul’(“0x210000000”,.)不会将“errno”设置为“ERANGE”,表示3
uint64_t fr=strtoul(from.c_str(),NULL,10);uint64_t tf_time=strtoul(tfr.c_str(),NULL,10);
connections_hashmap.insert({{fr,t},tf_time}); 我得到了这个: error: no matching function