Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template not_equal

boost::pfr::not_equal — std::not_equal like comparator that returns boost::pfr::ne (x, y)

Synopsis

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

template<typename T> 
struct not_equal {
  // types
  typedef  ;  // This typedef exists only if T is void. 

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

Description

not_equal public member functions

  1.  ( x,  y) ;

    Returns:

    true if at least one field x not 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