libsigc++
2.99.5
|
Adaptor that binds arguments to the wrapped functor. More...
#include <sigc++/adaptors/bind.h>
Public Member Functions | |
bind_functor (type_trait_take_t< T_functor > _A_func, type_trait_take_t< T_bound >..._A_bound) | |
Constructs a bind_functor object that binds an argument to the passed functor. More... | |
template<class... T_arg> | |
decltype(auto) | operator() (T_arg&&..._A_arg) |
Invokes the wrapped functor passing on the arguments. More... | |
![]() | |
adapts (const T_functor& _A_functor) | |
Constructs an adaptor that wraps the passed functor. More... | |
Additional Inherited Members | |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). More... | |
Adaptor that binds arguments to the wrapped functor.
Use the convenience function sigc::bind() to create an instance of sigc::bind_functor.
The following template arguments are used:
-1
for the last argument).
|
inline |
Constructs a bind_functor object that binds an argument to the passed functor.
_A_func | Functor to invoke from operator()(). |
_A_bound | Argument to bind to the functor. |
|
inline |
Invokes the wrapped functor passing on the arguments.
bound_ is passed as the next argument.
_A_arg | Arguments to be passed on to the functor. |