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 unary_negate

boost::compute::unary_negate

Synopsis

// In header: <boost/compute/functional/logical.hpp>

template<typename Predicate> 
class unary_negate : public boost::compute::unary_function< void, int > {
public:

  // public member functions
  explicit unary_negate(Predicate);
};

Description

The unary_negate function adaptor negates a unary function.

See Also: not1()

unary_negate public member functions

  1. explicit unary_negate(Predicate pred);

PrevUpHomeNext