
19 Apr
2006
19 Apr
'06
10:30 a.m.
hello! I wanna replace an std::map<std::string,Services*> to hash table.How I will do this? in the examples of hash library there are only examples for custom hashing.... there isn't a trivial example!:-) transactions.insert(std::pair<std::string,Services*>("Aservice",new xxxx)); transactions.insert(std::pair<std::string,Services*>("Vservice",new fffff)); transactions.insert(std::pair<std::string,Services*>("Rservice",new ttt)); ............... how I should replace this with a boost 'hashtable'? thanks for any help.