Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template function

boost::signals::function — Converts a function into a Signal Network filter.

Synopsis

template<typename Signature, typename FunctionSignature, 
         typename OutSignal = unfused, 
         typename Combiner = boost::last_value<void>, typename Group = int, 
         typename GroupCompare = std::less<Group> > 
class function {
public:
  // types
  typedef unspecified base_type;

  // construct/copy/destruct
  function(const boost::function< FunctionSignature > &);
};

Description

The signals::function object will receive signals of signature void(function arguments), and send signals of signature void(function return type).

function construct/copy/destruct

  1. function(const boost::function< FunctionSignature > & f);
Copyright © 2007 Stjepan Rajko

PrevUpHomeNext