Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
func::detail Namespace Reference

Classes

struct  empty_struct
 
struct  function_manager
 
struct  function_manager_inplace_specialization
 
struct  function_manager_inplace_specialization< T, Allocator, typename std::enable_if<!is_inplace_allocated< T, Allocator >::value >::type >
 
struct  functor_padding
 
struct  functor_type
 
struct  is_inplace_allocated
 
struct  is_valid_function_argument
 
struct  is_valid_function_argument< function< Result(Arguments...)>, Result(Arguments...)>
 
struct  is_valid_function_argument< T, Result(Arguments...)>
 
struct  manager_storage_type
 
struct  typedeffer
 
struct  typedeffer< Result, Argument >
 
struct  typedeffer< Result, First_Argument, Second_Argument >
 

Typedefs

typedef const function_managermanager_type
 

Functions

template<typename T >
to_functor (T &&func)
 
template<typename Result , typename Class , typename... Arguments>
auto to_functor (Result(Class::*func)(Arguments...)) -> decltype(std::mem_fn(func))
 
template<typename T >
bool is_null (const T &)
 
template<typename Result , typename... Arguments>
bool is_null (Result(*const &function_pointer)(Arguments...))
 
template<typename Result , typename Class , typename... Arguments>
bool is_null (Result(Class::*const &function_pointer)(Arguments...))
 
template<typename T , typename Allocator >
static const function_managerget_default_manager ()
 
template<typename T , typename Allocator >
static void create_manager (manager_storage_type &storage, Allocator &&allocator)
 

Typedef Documentation

◆ manager_type

Function Documentation

◆ create_manager()

template<typename T , typename Allocator >
static void func::detail::create_manager ( manager_storage_type storage,
Allocator &&  allocator 
)
static

◆ get_default_manager()

template<typename T , typename Allocator >
static const function_manager & func::detail::get_default_manager ( )
inlinestatic

◆ is_null() [1/3]

template<typename T >
bool func::detail::is_null ( const T &  )

◆ is_null() [2/3]

template<typename Result , typename... Arguments>
bool func::detail::is_null ( Result(*&)(Arguments...)  function_pointer)

◆ is_null() [3/3]

template<typename Result , typename Class , typename... Arguments>
bool func::detail::is_null ( Result(Class::*&)(Arguments...)  function_pointer)

◆ to_functor() [1/2]

template<typename Result , typename Class , typename... Arguments>
auto func::detail::to_functor ( Result(Class::*)(Arguments...)  func) -> decltype(std::mem_fn(func))

◆ to_functor() [2/2]

template<typename T >
T func::detail::to_functor ( T &&  func)