59 return sizeof...(Arguments);
65 return sizeof...(Arguments);
78#define KDBINDINGS_DEFINE_MEMBER_GET_ARITY(MODIFIERS) \
79 template<typename Return, typename Class, typename... Arguments> \
80 constexpr size_t get_arity(::KDBindings::Private::TypeMarker<Return (Class::*)(Arguments...) MODIFIERS>) \
82 return sizeof...(Arguments) + 1; \
90 return sizeof...(Arguments) + 1;
130template<
typename Func,
typename...
Args, std::size_t...
Is>
151 typename = std::enable_if_t<std::conjunction_v<std::negation<std::is_placeholder<Args>>...>>>
166 : integral_constant<int, N> {
auto bind_first(Func &&fun, Args &&...args)
typename operator_node_result< Operator, Ts... >::type operator_node_result_t
constexpr size_t get_arity()
auto bind_first_helper(std::index_sequence< Is... >, Func &&fun, Args... args)
The main namespace of the KDBindings library.
constexpr TypeMarker()=default
#define KDBINDINGS_DEFINE_MEMBER_GET_ARITY(MODIFIERS)