I have unordered_map. which has client and their associated users in std::list. I can print my client, but don't know how to print its userslist.
mapType clientUserMap;
clientUserMap.insert (mapType::value_type("C1", std::list<std::string> (userlist)));
boost::unordered_map<std::string, std::list<std::string> >
::const_iterator it = clientUserMap.find("C1");
std::cout << it->first << std::endl;