1 2 3 4 5 6 7 8 9 10 11 12
void foo() { for (std::map<std::string, std::string>::iterator it = m_stat_http_conn_total.m_stat_response_codes.begin(); it != m_stat_http_conn_total.m_stat_response_codes.end(); ++i) { bar(it); } }