C++ Builder 中怎么使用Hash_map,hash_set
#include <hash_map>
#include <map>
#include <vector>
#include <Generics.collections.hpp>
#include <iostream>
hash_map<const char*, int, hash<const char*>, eqstr> months;
months["january"] = 31;
months["february"] = 28;
months["march"] = 31;
months["april"] = 30;
months["may"] = 31;
months["june"] = 30;
months["july"] = 31;
months["august"] = 31;
months["september"] = 30;
months["october"] = 31;
months["november"] = 30;
months["december"] = 31;