libsigc++
2.99.2
|
Adaptor that performs a C-style cast on the return value of a functor. More...
#include <sigc++/adaptors/retype_return.h>
Public Types | |
using | result_type = T_return |
![]() | |
using | adaptor_type = typename adaptor_trait< T_functor >::adaptor_type |
using | result_type = typename adaptor_trait< T_functor >::result_type |
Public Member Functions | |
retype_return_functor () | |
retype_return_functor (type_trait_take_t< T_functor > _A_functor) | |
Constructs a retype_return_functor object that perform a C-style cast on the return value of the passed functor. More... | |
T_return | operator() () |
template<class... T_arg> | |
T_return | operator() (T_arg&&..._A_a) |
![]() | |
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 performs a C-style cast on the return value of a functor.
Use the convenience function sigc::retype_return() to create an instance of retype_return_functor.
The following template arguments are used:
using sigc::retype_return_functor< T_return, T_functor >::result_type = T_return |
|
inline |
|
inlineexplicit |
Constructs a retype_return_functor object that perform a C-style cast on the return value of the passed functor.
_A_functor | Functor to invoke from operator()(). |
T_return sigc::retype_return_functor< T_return, T_functor >::operator() | ( | ) |
|
inline |