libsigc++ 3.6.0
|
Adaptor that binds argument(s) to the wrapped functor. More...
#include <sigc++/adaptors/bind.h>
Public Member Functions | |
bind_functor (type_trait_take_t< T_functor > func, type_trait_take_t< T_type >... bound) | |
Constructs a bind_functor object that binds an argument to the passed functor. | |
template<typename... T_arg> | |
decltype(auto) | operator() (T_arg &&... arg) |
Invokes the wrapped functor passing on the arguments. | |
![]() | |
adapts (const T_functor &functor) | |
Constructs an adaptor that wraps the passed functor. | |
Public Attributes | |
std::tuple< bound_argument< T_type >... > | bound_ |
The argument bound to the functor. | |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). | |
Adaptor that binds argument(s) to the wrapped functor.
This template specialization fixes the last argument(s) of the wrapped functor.
|
inline |
Constructs a bind_functor object that binds an argument to the passed functor.
func | Functor to invoke from operator()(). |
bound | Arguments to bind to the functor. |
|
inline |
Invokes the wrapped functor passing on the arguments.
bound_ is passed as the next argument.
arg | Arguments to be passed on to the functor. |
std::tuple<bound_argument<T_type>...> sigc::bind_functor<-1, T_functor, T_type... >::bound_ |
The argument bound to the functor.