Boost logo

Boost Users :

From: george (george13p_at_[hidden])
Date: 2006-04-19 06:30:10


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net