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

PrevUpHomeNext

Struct not_equal_to

boost::log::not_equal_to — Inequality predicate.

Synopsis

// In header: <boost/log/utility/functional/logical.hpp>


struct not_equal_to {
  // types
  typedef bool result_type;

  // public member functions
  template<typename T, typename U> bool operator()(T const &, U const &) const;

  // private static functions
  template<typename T, typename U> 
    static bool op(T const &, U const &, mpl::false_ const &);
  template<typename T, typename U> 
    static bool op(T const &, U const &, mpl::true_ const &);
};

Description

not_equal_to public member functions

  1. template<typename T, typename U> 
      bool operator()(T const & left, U const & right) const;

not_equal_to private static functions

  1. template<typename T, typename U> 
      static bool op(T const & left, U const & right, mpl::false_ const &);
  2. template<typename T, typename U> 
      static bool op(T const & left, U const & right, mpl::true_ const &);

PrevUpHomeNext