#include <map.h>
#include <string.h>
#include <stdlib.h>
template<typename T>
T &Map<T>::operator[](const char *key)
{
for (int i = 0; i < cnt; i++)
if (!strcmp(key,keys[i]))
return items[i];
static T ret;
return ret;
}