|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-03-10 16:16:15
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk