...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::hash<unsigned long>
// In header: <boost/container_hash/hash.hpp> struct hash<unsigned long> { std::size_t operator()(unsigned long) const; };
std::size_t operator()(unsigned long val) const;
Returns: |
Unspecified in TR1, except that equal arguments yield the same result. hash_value(val) in Boost. |
Throws: |
Doesn't throw |