
19 Apr
2006
19 Apr
'06
10:30 a.m.
hello! I wanna replace an std::mapstd::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::pairstd::string,Services*("Aservice",new xxxx)); transactions.insert(std::pairstd::string,Services*("Vservice",new fffff)); transactions.insert(std::pairstd::string,Services*("Rservice",new ttt)); ............... how I should replace this with a boost 'hashtable'? thanks for any help.