| 167 | } |
| 168 | |
| 169 | void testMap(map<int32_t, int32_t>& out, const map<int32_t, int32_t>& thing) override { |
| 170 | printf("testMap({"); |
| 171 | map<int32_t, int32_t>::const_iterator m_iter; |
| 172 | bool first = true; |
| 173 | for (m_iter = thing.begin(); m_iter != thing.end(); ++m_iter) { |
| 174 | if (first) { |
| 175 | first = false; |
| 176 | } else { |
| 177 | printf(", "); |
| 178 | } |
| 179 | printf("%d => %d", m_iter->first, m_iter->second); |
| 180 | } |
| 181 | printf("})\n"); |
| 182 | out = thing; |
| 183 | } |
| 184 | |
| 185 | void testStringMap(map<std::string, std::string>& out, |
| 186 | const map<std::string, std::string>& thing) override { |