static void insert_test (MAP &map, size_t iterations, KEY *keys) { // Add to the map, allowing keys to be created by the map. size_t counter = 0; for (VALUE i = 0; i < iterations; ++i) { ACE_ASSERT (map.bind_create_key (i, keys[i]) == 0); ++counter; ACE_ASSERT (map.current_size () == counter); } }