template<class T > struct has_equality<T, void_t<decltype( std::declval<T&>() == std::declval<T&>() )>> : std::true_type { };
It looks horrible. And in D it is much prettier.
Stefan Koch via Digitalmars-d Tue, 12 Jul 2016 10:21:43 -0700
template<class T > struct has_equality<T, void_t<decltype( std::declval<T&>() == std::declval<T&>() )>> : std::true_type { };
It looks horrible. And in D it is much prettier.