...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_value —
template<typename K, typename C, typename A> std::size_t hash_value(std::set<K, C, A> const & val); template<typename K, typename C, typename A> std::size_t hash_value(std::multiset<K, C, A> const & val);
Returns:
hash_range(val.begin(), val.end());
Throws:
Only throws if hash_value(T)
throws.
Notes:
This is an extension to TR1
Copyright © 2005 Daniel James |