libsigc++ 3.6.0
|
Adaptor that performs a C-style cast on the return value of a functor. More...
#include <sigc++/adaptors/retype_return.h>
Public Member Functions | |
retype_return_functor ()=default | |
retype_return_functor (type_trait_take_t< T_functor > functor) | |
Constructs a retype_return_functor object that perform a C-style cast on the return value of the passed functor. | |
template<typename... T_arg> | |
T_return | operator() (T_arg &&... a) |
![]() | |
adapts (const T_functor &functor) | |
Constructs an adaptor that wraps the passed functor. | |
Additional Inherited Members | |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). | |
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:
|
default |
|
inlineexplicit |
Constructs a retype_return_functor object that perform a C-style cast on the return value of the passed functor.
functor | Functor to invoke from operator()(). |
|
inline |