Determines whether Fn can be invoked with the arguments Args....
More...
#include <traits.hpp>
|
|
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 constexpr bool | value = decltype(test<Fn>(0))::value |
| |
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: