Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template equal_to

boost::pfr::equal_to — std::equal_to like comparator that returns boost::pfr::eq (x, y)

Synopsis

// In header: <boost/pfr/functors.hpp>

template<typename T> 
struct equal_to {

  // public member functions
   (, ) ;
};

Description

equal_to public member functions

  1.  ( x,  y) ;

    Returns:

    true if each field of x equals the field with same index of y.


PrevUpHomeNext