|
libsigc++
2.4.0
|
pointer_functor2 wraps existing non-member functions with 2 argument(s). More...
#include <sigc++/functors/ptr_fun.h>

Public Types | |
| typedef T_return | result_type |
Public Member Functions | |
| pointer_functor2 () | |
| Constructs an invalid functor. More... | |
| pointer_functor2 (function_type _A_func) | |
| Constructs a pointer_functor2 object that wraps an existing function. More... | |
| T_return | operator() (typename type_trait< T_arg1 >::take _A_a1, typename type_trait< T_arg2 >::take _A_a2) const |
| Execute the wrapped function. More... | |
Protected Attributes | |
| function_type | func_ptr_ |
pointer_functor2 wraps existing non-member functions with 2 argument(s).
Use the convenience function ptr_fun() to create an instance of pointer_functor2.
The following template arguments are used:
| typedef T_return sigc::pointer_functor2< T_arg1, T_arg2, T_return >::result_type |
|
inline |
Constructs an invalid functor.
|
inlineexplicit |
Constructs a pointer_functor2 object that wraps an existing function.
| _A_func | Pointer to function that will be invoked from operator()(). |
|
inline |
Execute the wrapped function.
| _A_a1 | Argument to be passed on to the function. |
| _A_a2 | Argument to be passed on to the function. |
|
protected |
1.8.7