folly::is_invocable_r

Trait testing whether the result of invoking F is convertible to R; mimics std::is_invocable_r.

Synopsis

Declared in <folly/functional/Invoke.h>

template<
    typename R,
    typename F,
    typename... A>
struct is_invocable_r
    : std::bool_constant<is_invocable_r_v<R, F, A...>>

Base Classes

NameDescription
std::bool_constant<is_invocable_r_v<R, F, A...>>