//set of primitive type
void set_ex()
{
oset<string> s1;
s1.Insert("hello");
s1.Insert("Hello");
s1.Insert("world");
if (s1.Contains("Hello"))
out_str("Hello exists.");
vector<string> vs;
s1.GetAsVector(vs);
}
//map of basic type
void map_ex()
{
omap<int, string> m1;
m1.Set(100, "Hello");
m1.Set(200, "World");
string str;
if (m1.Get(200, str))
printf("Found value at 200: %s\r\n", str);
}