...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::equal_to — Equality predicate.
// In header: <boost/log/utility/functional/logical.hpp> struct equal_to { // types typedef bool result_type; // public member functions template<typename T, typename U> bool operator()(T const &, U const &) const; // private static functions template<typename T, typename U> static bool op(T const &, U const &, false_type); template<typename T, typename U> static bool op(T const &, U const &, true_type); };