Home | Libraries | People | FAQ | More |
boost::hash — A TR1 compliant hash function object.
// In header: <boost/functional/hash.hpp> template<typename T> struct hash : public std::unary_function<T, std::size_t> { std::size_t operator()(T const&) const; };
std::size_t operator()(T const& val) const;
Returns: |
hash_value(val)
|
Notes: |
The call to
This is not defined when the macro |
Throws: |
Only throws if
|