libsigc++: sigc::pointer_functor< T_return, T_args > Class Template Reference

pointer_functor wraps existing non-member functions with, or without, arguments. More...

#include <sigc++/functors/ptr_fun.h>

Detailed Description

template<typename T_return, typename... T_args>

class sigc::pointer_functor< T_return, T_args >

pointer_functor wraps existing non-member functions with, or without, arguments.

Use the convenience function ptr_fun() to create an instance of pointer_functor.

The following template arguments are used:

  • T_args... Argument types used in the definition of operator()().
  • T_return The return type of operator()().