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

#include <function.h>

Static Public Member Functions

template<typename U >
static decltype(to_functor(std::declval< U >())(std::declval< Arguments >()...)) check (U *)
 
template<typename >
static empty_struct check (...)
 

Static Public Attributes

static const bool value = std::is_convertible<decltype(check<T>(nullptr)), Result>::value
 

Member Function Documentation

◆ check() [1/2]

template<typename T , typename Result , typename... Arguments>
template<typename >
static empty_struct func::detail::is_valid_function_argument< T, Result(Arguments...)>::check (   ...)
static

◆ check() [2/2]

template<typename T , typename Result , typename... Arguments>
template<typename U >
static decltype(to_functor(std::declval< U >())(std::declval< Arguments >()...)) func::detail::is_valid_function_argument< T, Result(Arguments...)>::check ( U *  )
static

Member Data Documentation

◆ value

template<typename T , typename Result , typename... Arguments>
const bool func::detail::is_valid_function_argument< T, Result(Arguments...)>::value = std::is_convertible<decltype(check<T>(nullptr)), Result>::value
static

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