Lines Matching refs:Args
518 auto ApplyImpl(F&& f, Tuple&& args, int_pack<Idx...>) -> decltype(
519 std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) {
520 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
525 auto Apply(F&& f, Tuple&& args)
526 -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
528 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
548 template <typename R, typename... Args>
549 struct Function<R(Args...)> {
551 static constexpr size_t ArgumentCount = sizeof...(Args);
553 using Arg = ElemFromList<I, typename MakeIndexSequence<sizeof...(Args)>::type,
554 Args...>;
555 using ArgumentTuple = std::tuple<Args...>;
556 using ArgumentMatcherTuple = std::tuple<Matcher<Args>...>;
557 using MakeResultVoid = void(Args...);
558 using MakeResultIgnoredValue = IgnoredValue(Args...);
561 template <typename R, typename... Args>
562 constexpr size_t Function<R(Args...)>::ArgumentCount;