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 to view this page for the latest version.
PrevUpHomeNext

Class template negate

boost::movelib::negate

Synopsis

// In header: <boost/move/algo/predicate.hpp>

template<typename Comp> 
class negate {
public:
  // construct/copy/destruct
  negate();
  explicit negate(Comp);

  // public member functions
  template<typename T1, typename T2> bool operator()(const T1 &, const T2 &);
};

Description

negate public construct/copy/destruct

  1. negate();
  2. explicit negate(Comp comp);

negate public member functions

  1. template<typename T1, typename T2> bool operator()(const T1 & l, const T2 & r);

PrevUpHomeNext