我有这个代码:
std::set<unsigned long>::iterator it; for (it = SERVER_IPS.begin(); it != SERVER_IPS.end(); ++it) { u_long f = it; // error here }
没有->first价值.我如何获得价值?
->first
c++ iteration set
c++ ×1
iteration ×1
set ×1