ROSE 0.11.145.147
Static Public Member Functions | Static Public Attributes | List of all members
Sawyer::is_invocable< F, Args > Struct Template Reference

Description

template<class F, class... Args>
struct Sawyer::is_invocable< F, Args >

Definition at line 22 of file Result.h.

Static Public Member Functions

template<class U >
static auto test (U *p) -> decltype((*p)(std::declval< Args >()...), void(), std::true_type())
 
template<class U >
static auto test (...) -> decltype(std::false_type())
 

Static Public Attributes

static constexpr bool value = decltype(test<F>(0))::value
 

Member Data Documentation

◆ value

template<class F , class... Args>
constexpr bool Sawyer::is_invocable< F, Args >::value = decltype(test<F>(0))::value
staticconstexpr

Definition at line 29 of file Result.h.


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