libsigc++: sigc::pointer_functor< T_return(T_args...)> Class Template Reference
#include <sigc++/functors/ptr_fun.h>
Public Member Functions | |
pointer_functor ()=default | |
Constructs an invalid functor. More... | |
pointer_functor (function_type func) | |
Constructs a pointer_functor2 object that wraps an existing function. More... | |
T_return | operator() (type_trait_take_t< T_args >...a) const |
Execute the wrapped function. More... | |
Protected Attributes | |
function_type | func_ptr_ |
Constructor & Destructor Documentation
template <typename T_return , typename... T_args>
|
default |
Constructs an invalid functor.
template <typename T_return , typename... T_args>
|
inlineexplicit |
Constructs a pointer_functor2 object that wraps an existing function.
- Parameters
-
func Pointer to function that will be invoked from operator()().
Member Function Documentation
template <typename T_return , typename... T_args>
|
inline |
Execute the wrapped function.
- Parameters
-
a Arguments to be passed on to the function.
- Returns
- The return value of the function invocation.
Member Data Documentation
template <typename T_return , typename... T_args>
|
protected |