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> 
struct greater_equal {
  // types
  typedef  ;  // This typedef exists only if T is void. 

  // public member functions
   (, ) ;
  template<typename V, typename U>  (, ) ;
};

Description

greater_equal public member functions

  1.  ( x,  y) ;

    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.

  2. template<typename V, typename U> 
       ( x,  y) ;

    This operator allows comparison of x and y that have different type.

    Requires:

    Exists only if T is void.


PrevUpHomeNext