libsigc++
3.6.0
|
#include <sigc++/functors/mem_fun.h>
Public Types | |
using | function_type = typename base_type::function_type |
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 base_type::object_type |
using | T_limit_reference = typename std::conditional_t< internal::member_method_is_const< T_func >::value, limit_reference< const object_type >, limit_reference< object_type > > |
Public Member Functions | |
bound_mem_functor (obj_type_with_modifier & obj, function_type func) | |
Constructs a bound_mem_functor object that wraps the passed method. More... | |
decltype(auto) | operator() (type_trait_take_t< T_arg >... a) const |
Execute the wrapped method operating on the stored instance. More... | |
Public Attributes | |
T_limit_reference | obj_ |
using sigc::bound_mem_functor< T_func, T_arg >::function_type = typename base_type::function_type |
using sigc::bound_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::bound_mem_functor< T_func, T_arg >::object_type = typename base_type::object_type |
using sigc::bound_mem_functor< T_func, T_arg >::T_limit_reference = typename std::conditional_t<internal::member_method_is_const<T_func>::value, limit_reference<const object_type>, limit_reference<object_type> > |
|
inline |
Constructs a bound_mem_functor object that wraps the passed method.
obj | Reference to instance the method will operate on. |
func | Pointer to method will be invoked from operator()(). |
|
inline |
Execute the wrapped method operating on the stored instance.
a | Arguments to be passed on to the method. |
T_limit_reference sigc::bound_mem_functor< T_func, T_arg >::obj_ |