"Fossies" - the Fresh Open Source Software Archive

Member "libsigc++-3.0.0/docs/docs/reference/html/classsigc_1_1pointer__functor_3_01T__return_07T__args_8_8_8_08_4.html" (5 Sep 2019, 10312 Bytes) of package /linux/misc/libsigc++-3.0.0.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

libsigc++  3.0.0
Public Member Functions | Protected Attributes | List of all members
sigc::pointer_functor< T_return(T_args...)> Class Template Reference

#include <sigc++/functors/ptr_fun.h>

Public Member Functions

 pointer_functor ()=default
 Constructs an invalid functor. More...
 
 pointer_functor (function_type func)
 Constructs a pointer_functor2 object that wraps an existing function. More...
 
T_return operator() (type_trait_take_t< T_args >...a) const
 Execute the wrapped function. More...
 

Protected Attributes

function_type func_ptr_
 

Constructor & Destructor Documentation

template <typename T_return , typename... T_args>
sigc::pointer_functor< T_return(T_args...)>::pointer_functor ( )
default

Constructs an invalid functor.

template <typename T_return , typename... T_args>
sigc::pointer_functor< T_return(T_args...)>::pointer_functor ( function_type  func)
inlineexplicit

Constructs a pointer_functor2 object that wraps an existing function.

Parameters
funcPointer to function that will be invoked from operator()().

Member Function Documentation

template <typename T_return , typename... T_args>
T_return sigc::pointer_functor< T_return(T_args...)>::operator() ( type_trait_take_t< T_args >...  a) const
inline

Execute the wrapped function.

Parameters
aArguments to be passed on to the function.
Returns
The return value of the function invocation.

Member Data Documentation

template <typename T_return , typename... T_args>
function_type sigc::pointer_functor< T_return(T_args...)>::func_ptr_
protected