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

Click here to view the latest version of this page.
PrevUpHomeNext

Struct template sig

boost::function::sig — Lambda library support

Synopsis


// Lambda library supporttemplate<typename Args> 
struct sig {
  // types
  typedef result_type type;
};

// specialized algorithms
template<typename Signature, typename Allocator> 
  void swap(function<Signature, Allocator>&, function<Signature, Allocator>&);

// comparison operators
template<typename Signature, typename Allocator, typename Functor> 
  bool operator==(const function<Signature, Allocator>&, Functor);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator==(Functor, const function<Signature, Allocator>&);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator==(const function<Signature, Allocator>&, 
                  reference_wrapper<Functor>);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator==(reference_wrapper<Functor>, 
                  const function<Signature, Allocator>&);
template<typename Signature1, typename Allocator1, typename Signature2, 
         typename Allocator2> 
  void operator==(const function<Signature1, Allocator1>&, 
                  const function<Signature2, Allocator2>&);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator!=(const function<Signature, Allocator>&, Functor);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator!=(Functor, const function<Signature, Allocator>&);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator!=(const function<Signature, Allocator>&, 
                  reference_wrapper<Functor>);
template<typename Signature, typename Allocator, typename Functor> 
  bool operator!=(reference_wrapper<Functor>, 
                  const function<Signature, Allocator>&);
template<typename Signature1, typename Allocator1, typename Signature2, 
         typename Allocator2> 
  void operator!=(const function<Signature1, Allocator1>&, 
                  const function<Signature2, Allocator2>&);

PrevUpHomeNext