std::is_invocable

std::is_invocable, std::is_invocable_r, std::is_nothrow_invocable, std::is_nothrow_invocable_r

Defined in header <type_traits>
template <class Fn, class... ArgTypes>
struct is_invocable;
(1) (since C++17)
template <class R, class Fn, class... ArgTypes>
struct is_invocable_r;
(2) (since C++17)
template <class Fn, class... ArgTypes>
struct is_nothrow_invocable;登录查看完整内容