libsigc++ 3.6.0
|
#include <sigc++/functors/mem_fun.h>
Public Types | |
using | function_type = T_func |
using | obj_type_with_modifier = typename std::conditional_t< internal::member_method_is_const< T_func >::value, const object_type, object_type > |
using | object_type = typename internal::member_method_class< T_func >::type |
Public Member Functions | |
mem_functor () | |
Constructs an invalid functor. | |
mem_functor (function_type func) | |
Constructs a mem_functor object that wraps the passed method. | |
decltype(auto) | operator() (obj_type_with_modifier &obj, type_trait_take_t< T_arg >... a) const |
Execute the wrapped method operating on the passed instance. | |
Protected Attributes | |
function_type | func_ptr_ |
using sigc::mem_functor< T_func, T_arg >::function_type = T_func |
using sigc::mem_functor< T_func, T_arg >::obj_type_with_modifier = typename std:: conditional_t<internal::member_method_is_const<T_func>::value, const object_type, object_type> |
using sigc::mem_functor< T_func, T_arg >::object_type = typename internal::member_method_class<T_func>::type |
|
inline |
Constructs an invalid functor.
|
inlineexplicit |
Constructs a mem_functor object that wraps the passed method.
func | Pointer to method will be invoked from operator()(). |
|
inline |
Execute the wrapped method operating on the passed instance.
obj | Reference to instance the method should operate on. |
a | Arguments to be passed on to the method. |
|
protected |