Boost logo

Boost Users :

From: Igor R (boost.lists_at_[hidden])
Date: 2008-06-17 11:18:14


Hi,

I'd like to define hash_value() for some types defined in Boost, in
order to use those types in hashed containers. It seems that the only
way to do this is to define hash_value() in namespace boost, or the
inner namespaces (where the desired type is defined) - isn't it? Is
this legal?

Thank you,

Igor'.


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