hpx::is_invocable#
Defined in header hpx/type_traits.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
template<typename F, typename ...Ts>
struct is_invocable : public hpx::detail::is_invocable_impl<F&&(Ts&&...)># Determines whether F can be invoked with the arguments Ts…. Formally, determines whether
is well-formed when treated as an unevaluated operand, where INVOKE is the operation defined in Callable.INVOKE(std::declval<F>(), std::declval<Ts>()...)
F, R and all types in the parameter pack Ts shall each be a complete type, (possibly cv-qualified) void, or an array of unknown bound. Otherwise, the behavior is undefined. If an instantiation of a template above depends, directly or indirectly, on an incomplete type, and that instantiation could yield a different result if that type were hypothetically completed, the behavior is undefined.