Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
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 = void> 
struct not_equal {

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

Description

not_equal public member functions

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

    Returns:

    true if at least one field x not equals the field with same index of y.


PrevUpHomeNext