Struct is_applicable< Func, const Tuple< Args... > >

Synopsis

#include <src/entt/core/type_traits.hpp>

template<typename Func, template<typename...> class Tuple, typename... Args>
struct is_applicable<Func, const Tuple<Args...>>: std::is_invocable<Func, Args...>

Description

Same as std::is_invocable, but with tuples.

Template Parameters

Func - A valid function type.

Tuple - Tuple-like type.

Args - The list of arguments to use to probe the function type.

Inheritance

Ancestors: std::is_invocable< Func, Args... >

Source

Lines 444-445 in src/entt/core/type_traits.hpp.

template<typename Func, template<typename...> class Tuple, typename... Args>
struct is_applicable<Func, const Tuple<Args...>>: std::is_invocable<Func, Args...> {};





Add Discussion

Log in to comment