...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::pfr::eq — Compares lhs and rhs for equality using their own comparison and conversion operators; if no operators available returns boost::pfr::eq_fields (lhs, rhs).
// In header: <boost/pfr/ops.hpp> template<typename T, typename U> unspecified eq(const T & lhs, const U & rhs);