Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
func::function< Result(Arguments...)> Class Template Reference

#include <function.h>

Inheritance diagram for func::function< Result(Arguments...)>:
Collaboration diagram for func::function< Result(Arguments...)>:

Public Types

typedef Result(* Empty_Function_Type) (Arguments...)
 
- Public Types inherited from func::detail::typedeffer< Result, Arguments... >
typedef Result result_type
 

Public Member Functions

 function () FUNC_NOEXCEPT
 
 function (std::nullptr_t) FUNC_NOEXCEPT
 
 function (function &&other) FUNC_NOEXCEPT
 
 function (const function &other)
 
template<typename T >
 function (T functor, typename std::enable_if< detail::is_valid_function_argument< T, Result(Arguments...)>::value, detail::empty_struct >::type=detail::empty_struct()) FUNC_TEMPLATE_NOEXCEPT(T
 
template<typename T , typename Allocator >
void initialize (T functor, Allocator &&allocator)
 
void initialize_empty () FUNC_NOEXCEPT
 

Public Attributes

Result(* call )(const detail::functor_padding &, Arguments...)
 

Member Typedef Documentation

◆ Empty_Function_Type

template<typename Result , typename... Arguments>
typedef Result(* func::function< Result(Arguments...)>::Empty_Function_Type) (Arguments...)

Constructor & Destructor Documentation

◆ function() [1/5]

template<typename Result , typename... Arguments>
func::function< Result(Arguments...)>::function ( )
inline

◆ function() [2/5]

template<typename Result , typename... Arguments>
func::function< Result(Arguments...)>::function ( std::nullptr_t  )
inline

◆ function() [3/5]

template<typename Result , typename... Arguments>
func::function< Result(Arguments...)>::function ( function< Result(Arguments...)> &&  other)
inline

◆ function() [4/5]

template<typename Result , typename... Arguments>
func::function< Result(Arguments...)>::function ( const function< Result(Arguments...)> &  other)
inline

◆ function() [5/5]

template<typename Result , typename... Arguments>
template<typename T >
func::function< Result(Arguments...)>::function ( functor,
typename std::enable_if< detail::is_valid_function_argument< T, Result(Arguments...)>::value, detail::empty_struct >::type  = detail::empty_struct() 
)

Member Function Documentation

◆ initialize()

template<typename Result , typename... Arguments>
template<typename T , typename Allocator >
void func::function< Result(Arguments...)>::initialize ( functor,
Allocator &&  allocator 
)
inline

◆ initialize_empty()

template<typename Result , typename... Arguments>
void func::function< Result(Arguments...)>::initialize_empty ( )
inline

Member Data Documentation

◆ call

template<typename Result , typename... Arguments>
Result(* func::function< Result(Arguments...)>::call) (const detail::functor_padding &, Arguments...)

The documentation for this class was generated from the following file: