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

Class template negate

boost::movelib::negate

Synopsis

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

template<typename Comp> 
class negate {
public:

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

Description

negate public member functions

  1. negate();
  2. explicit negate(Comp comp);
  3. template<typename T1, typename T2> bool operator()(const T1 & l, const T2 & r);

PrevUpHomeNext