Template Struct is_invocable
Defined in File type_traits.hpp
Struct Documentation
-
template<typename Callable, typename ...ArgTypes>
struct is_invocable Verifies whether the passed Callable type is in fact invocable with the given arguments.
Public Static Functions
-
template<typename C, typename ...As>
static inline constexpr std::true_type test(typename cxx::invoke_result<C, As...>::type*) noexcept Note
result_of is deprecated, switch to invoke_result in C++17
-
template<typename C, typename ...As>
static inline constexpr std::false_type test(...) noexcept
Public Static Attributes
-
static constexpr bool value =
decltype(test<Callable, ArgTypes...>(nullptr))::value
-
template<typename C, typename ...As>