libsigc++
2.99.1
|
Adaptor that combines two functors. More...
#include <sigc++/adaptors/compose.h>
Public Types | |
using | adaptor_type = typename adapts< T_setter >::adaptor_type |
using | getter_type = T_getter |
using | result_type = typename adaptor_type::result_type |
using | setter_type = T_setter |
![]() | |
using | adaptor_type = typename adaptor_trait< T_setter >::adaptor_type |
using | result_type = typename adaptor_trait< T_setter >::result_type |
Public Member Functions | |
compose1_functor (const T_setter& _A_setter, const T_getter& _A_getter) | |
Constructs a compose1_functor object that combines the passed functors. More... | |
decltype(auto) | operator() () |
template<class... T_arg> | |
decltype(auto) | operator() (T_arg&&..._A_a) |
![]() | |
adapts (const T_setter& _A_functor) | |
Constructs an adaptor that wraps the passed functor. More... | |
Public Attributes | |
getter_type | get_ |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). More... | |
Adaptor that combines two functors.
Use the convenience function sigc::compose() to create an instance of sigc::compose1_functor.
The following template arguments are used:
using sigc::compose1_functor< T_setter, T_getter >::adaptor_type = typename adapts<T_setter>::adaptor_type |
using sigc::compose1_functor< T_setter, T_getter >::getter_type = T_getter |
using sigc::compose1_functor< T_setter, T_getter >::result_type = typename adaptor_type::result_type |
using sigc::compose1_functor< T_setter, T_getter >::setter_type = T_setter |
|
inline |
Constructs a compose1_functor object that combines the passed functors.
_A_setter | Functor that receives the return values of the invokation of _A_getter1 and _A_getter2. |
_A_getter | Functor to invoke from operator()(). |
|
inline |
|
inline |
getter_type sigc::compose1_functor< T_setter, T_getter >::get_ |