Schnek
schnek::is_invocable< Fn, Args > Struct Template Reference

Determines whether Fn can be invoked with the arguments Args.... More...

#include <traits.hpp>

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<Fn>(0))::value
 

Detailed Description

template<class Fn, class... Args>
struct schnek::is_invocable< Fn, Args >

Determines whether Fn can be invoked with the arguments Args....


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