
10 Mar
2005
10 Mar
'05
9:16 p.m.
Joaquin wrote:
unordered_set<my_type,boost::hash<my_type,crypto_impl> > us;
the why not just define your own hash struct: struct my_hash : public std::unary_function<std::string, std::size_t> { std::size_t operator()(std::string const& val) const; }; unordered_set<std::string, my_hash> my_set; ? -Thorsten