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

Description

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

Definition at line 20 of file Affirm.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 Rose::is_invocable< F, Args >::value = decltype(test<F>(0))::value
staticconstexpr

Definition at line 27 of file Affirm.h.


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