...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::intrusive::hash_key_types_base
// In header: <boost/intrusive/hashtable.hpp> template<typename T, typename VoidOrKeyOfValue> struct hash_key_types_base { // types typedef get_hash_key_of_value< VoidOrKeyOfValue, T >::type key_of_value; typedef key_of_value::type key_type; };