PrevUpHomeNext

Class template function

boost::compute::function — A function object.

Synopsis

// In header: <boost/compute/function.hpp>

template<typename Signature> 
class function {
public:
  // construct/copy/destruct
  function(const std::string &);
  ~function();
};

Description

function public construct/copy/destruct

  1. function(const std::string & name);
    Creates a new function object with name.
  2. ~function();
    Destroys the function object.

PrevUpHomeNext