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