Lines Matching refs:Args

1758           typename... Args> tuple make_tuple(Args&&... args_) {
1759 constexpr size_t size = sizeof...(Args);
1761 { reinterpret_steal<object>(detail::make_caster<Args>::cast(
1762 std::forward<Args>(args_), policy, nullptr))... }
1769 std::array<std::string, size> argtypes { {type_id<Args>()...} };
1886 template <typename... Args>
1888 using indices = make_index_sequence<sizeof...(Args)>;
1893 static constexpr auto args_pos = constexpr_first<argument_is_args, Args...>() - (int) sizeof...(Args),
1894 kwargs_pos = constexpr_first<argument_is_kwargs, Args...>() - (int) sizeof...(Args);
1904 static constexpr auto arg_names = concat(type_descr(make_caster<Args>::name)...);
1935 return std::forward<Func>(f)(cast_op<Args>(std::move(std::get<Is>(argcasters)))...);
1938 std::tuple<make_caster<Args>...> argcasters;
2089 template <return_value_policy policy, typename... Args,
2090 typename = enable_if_t<all_of<is_positional<Args>...>::value>>
2091 simple_collector<policy> collect_arguments(Args &&...args) {
2092 return simple_collector<policy>(std::forward<Args>(args)...);
2096 template <return_value_policy policy, typename... Args,
2097 typename = enable_if_t<!all_of<is_positional<Args>...>::value>>
2098 unpacking_collector<policy> collect_arguments(Args &&...args) {
2101 constexpr_last<is_positional, Args...>() < constexpr_first<is_keyword_or_ds, Args...>()
2102 && constexpr_last<is_s_unpacking, Args...>() < constexpr_first<is_ds_unpacking, Args...>(),
2106 return unpacking_collector<policy>(std::forward<Args>(args)...);
2110 template <return_value_policy policy, typename... Args>
2111 object object_api<Derived>::operator()(Args &&...args) const {
2112 return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
2116 template <return_value_policy policy, typename... Args>
2117 object object_api<Derived>::call(Args &&...args) const {
2118 return operator()<policy>(std::forward<Args>(args)...);