boost::hash<long>
struct hash<long> { std::size_t operator()(long) const; };
std::size_t operator()(long val) const;
Returns:
Unspecified in TR1, except that equal arguments yield the same result.
hash_value(val) in Boost.
Throws:
Doesn't throw