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 not1

boost::compute::not1

Synopsis

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


template<typename Predicate> 
  unary_negate< Predicate > not1(const Predicate & predicate);

Description

Returns a unary_negate adaptor around predicate.

Parameters:

predicate

the unary function to wrap

Returns:

a unary_negate wrapper around predicate


PrevUpHomeNext