Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template greater_equal

boost::pfr::greater_equal — std::greater_equal like comparator that returns boost::pfr::ge (x, y)

Synopsis

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

template<typename T = void> 
struct greater_equal {

  // public member functions
  bool operator()(const T &, const T &) const;
};

Description

greater_equal public member functions

  1. bool operator()(const T & x, const T & y) const;

    Returns:

    true if field of x greater than the field with same index of y and all previous fields of x equal to the same fields of y; or if each field of x equals the field with same index of y.


PrevUpHomeNext