
22 Oct
2009
22 Oct
'09
12:56 p.m.
I'm using boost 1.35. I wanted to use boost::intrusive::unordered_set for std::string - couldn't find an example how to do it. Can someone give a small example? As of now I've coded using from tr1 in following way - typedef std::tr1::unordered_set< std::string, boost::hash< std::string > > Hash; Hash tbl; tbl.insert("abcd"); bool found = tbl.find("xyz") == tbl.end() ? true : false; Regards, - Soumen -- View this message in context: http://www.nabble.com/-newbie-unordered_set--string-example-tp26009431p26009... Sent from the Boost - Users mailing list archive at Nabble.com.