boost::intrusive::get_hash_key_of_value
// In header: <boost/intrusive/hashtable.hpp> template<typename KeyOfValue, typename T> struct get_hash_key_of_value { // types typedef KeyOfValue type; };