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