boost::compute::binary_negate
// In header: <boost/compute/functional/logical.hpp> template<typename Predicate> class binary_negate : public boost::compute::binary_function< void, void, int > { public: // construct/copy/destruct explicit binary_negate(Predicate); };