libsigc++ 3.6.0
|
Adaptor that combines two functors. More...
#include <sigc++/adaptors/compose.h>
Public Member Functions | |
compose1_functor (const T_setter &setter, const T_getter &getter) | |
Constructs a compose1_functor object that combines the passed functors. | |
template<typename... T_arg> | |
decltype(auto) | operator() (T_arg &&... a) |
![]() | |
adapts (const T_setter &functor) | |
Constructs an adaptor that wraps the passed functor. | |
Public Attributes | |
T_getter | get_ |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). | |
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:
|
inline |
Constructs a compose1_functor object that combines the passed functors.
setter | Functor that receives the return values of the invocation of getter1 and getter2. |
getter | Functor to invoke from operator()(). |
|
inline |
T_getter sigc::compose1_functor< T_setter, T_getter >::get_ |