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

Function template not2

boost::compute::not2

Synopsis

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


template<typename Predicate> 
  binary_negate< Predicate > not2(const Predicate & predicate);

Description

Returns a binary_negate adaptor around predicate.

Parameters:

predicate

the binary function to wrap

Returns:

a binary_negate wrapper around predicate


PrevUpHomeNext