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
boost::compute::function — A function object.
// In header: <boost/compute/function.hpp> template<typename Signature> class function { public: // public member functions function(const std::string &); ~function(); bool operator==(const function< Signature > &) const; bool operator!=(const function< Signature > &) const; };