Home
last modified time | relevance | path

Searched refs:_Ts (Results 1 – 19 of 19) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__tuple.hpp55 template <auto _Idx, class... _Ts>
58 template <std::size_t... _Is, __indices<_Is...> _Idx, class... _Ts>
59 struct __tuple<_Idx, _Ts...> : __box<_Ts, _Is>...
78 static_cast<_Self&&>(__self).__box<_Ts, _Is>::__value...))) in apply()
81 static_cast<_Self&&>(__self).__box<_Ts, _Is>::__value...)) in apply()
85 static_cast<_Self&&>(__self).__box<_Ts, _Is>::__value...); in apply()
89 requires(__callable<_Fn, _Us..., __copy_cvref_t<_Self, _Ts>> && ...)
92 noexcept((__nothrow_callable<_Fn, _Us..., __copy_cvref_t<_Self, _Ts>> && in for_each()
97 static_cast<_Self&&>(__self).__box<_Ts, _Is>::__value), in for_each()
102 template <class... _Ts>
[all …]
H A D__meta.hpp198 template <class... _Ts>
199 using __indices_for = __make_indices<sizeof...(_Ts)>;
352 template <class... _Ts>
353 using __disp = decltype((__msuccess(), ..., __ok_t<_Ts>()));
761 template <class... _Ts>
762 using __f = __minvoke<_Fn, _Ts...>;
809 template <class... _Ts, template <class...> class _Ap = __types,
814 static auto __f(__types<_Ts...>*, _Ap<_As...>*, _Bp<_Bs...>* = nullptr,
818 static_cast<__types<_Ts..., _As..., _Bs..., _Cs..., _Ds...>*>(
841 template <class... _Ts>
[all …]
H A D__variant.hpp49 template <auto _Idx, class... _Ts>
76 template <std::size_t... _Is, __indices<_Is...> _Idx, class... _Ts>
77 class __variant<_Idx, _Ts...>
79 static constexpr std::size_t __max_size = stdexec::__umax({sizeof(_Ts)...});
82 alignas(_Ts...) unsigned char __storage_[__max_size];
90 ((_Is == __index ? std::destroy_at(static_cast<_Ts*>(__get_ptr())) in __destroy()
97 using __at = __m_at_c<_Ny, _Ts...>;
135 constexpr std::size_t __new_index = stdexec::__index_of<_Ty, _Ts...>(); in emplace()
149 static_assert(_Ny < sizeof...(_Ts), "variant index is too large"); in emplace()
180 stdexec::__index_of<__result_t, _Ts...>(); in emplace_from()
[all …]
H A D__just.hpp50 [&]<class... _Ts>(_Ts&... __ts) noexcept {
52 static_cast<_Ts&&>(__ts)...);
62 template <__movable_value... _Ts>
64 auto operator()(_Ts&&... __ts) const in operator ()()
65 noexcept((__nothrow_decay_copyable<_Ts> && ...)) in operator ()()
67 return __make_sexpr<just_t>(__tuple{static_cast<_Ts&&>(__ts)...}); in operator ()()
H A D__scope.hpp23 template <class _Fn, class... _Ts>
24 requires __nothrow_callable<_Fn, _Ts...>
129 template <class _Fn, class... _Ts>
130 __scope_guard(_Fn, _Ts...) -> __scope_guard<_Fn, _Ts...>;
H A D__concepts.hpp59 template <class... _Ts>
60 concept __typename = requires { typename __types<_Ts...>; };
291 template <class... _Ts>
292 concept __decay_copyable = (constructible_from<__decay_t<_Ts>, _Ts> && ...);
294 template <class... _Ts>
296 (__nothrow_constructible_from<__decay_t<_Ts>, _Ts> && ...);
H A D__transfer_just.hpp47 return []<class... _Ts>( in __transfer_just_tag_invoke()
48 _Ts&&... __ts) -> tag_invoke_result_t<transfer_just_t, _Ts...> { in __transfer_just_tag_invoke()
49 return tag_invoke(transfer_just, static_cast<_Ts&&>(__ts)...); in __transfer_just_tag_invoke()
H A D__schedule_from.hpp38 template <class... _Ts>
39 using __tuple_t = __tuple_for<__decay_t<_Ts>...>;
41 template <class... _Ts>
42 using __variant_t = __variant_for<__monostate, _Ts...>;
68 template <class... _Ts>
70 __mbool<(__nothrow_decay_copyable<_Ts> && ...)>;
H A D__receiver_adaptor.hpp88 template <class _Self, class... _Ts> \
90 static auto __call_##_TAG(_Self&& __self, _Ts&&... __ts) noexcept \
92 ._TAG(static_cast<_Ts&&>(__ts)...)) \
95 ._TAG(static_cast<_Ts&&>(__ts)...))); \
96 return static_cast<_Self&&>(__self)._TAG(static_cast<_Ts&&>(__ts)...); \
H A D__p2300.hpp37 template <class _Tag, class... _Ts>
39 stdexec::tag_invoke_result<_Tag, _Ts...>;
41 template <class _Tag, class... _Ts>
43 stdexec::tag_invoke_result_t<_Tag, _Ts...>;
45 template <class _Tag, class... _Ts>
47 stdexec::tag_invocable<_Tag, _Ts...>;
49 template <class _Tag, class... _Ts>
51 stdexec::nothrow_tag_invocable<_Tag, _Ts...>;
H A D__transform_completion_signatures.hpp63 template <class... _Ts>
65 __minvoke_if_c<sizeof...(_Ts) != 0,
67 __mconst<__not_a_variant>, _Ts...>;
69 template <class... _Ts>
72 __decay_t<_Ts>...>;
74 template <class... _Ts>
75 using __decayed_std_tuple = __meval<std::tuple, __decay_t<_Ts>...>;
H A D__utility.hpp115 template <class _Ty, class... _Ts>
118 constexpr bool __same[] = {STDEXEC_IS_SAME(_Ty, _Ts)..., false}; in __index_of()
119 return __pos_of(__same, __same + sizeof...(_Ts)); in __index_of()
H A D__connect_awaitable.hpp177 template <class _Fun, class... _Ts>
178 static auto __co_call(_Fun __fun, _Ts&&... __as) noexcept in __co_call()
181 __fun(static_cast<_Ts&&>(__as)...); in __co_call()
H A D__when_all.hpp153 return [&]<class... _Ts>(_Ts&... __ts) noexcept { in __complete_fn()
154 _Tag()(static_cast<_Receiver&&>(__rcvr), static_cast<_Ts&&>(__ts)...); in __complete_fn()
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dat_coroutine_exit.hpp146 template <class... _Ts>
184 auto await_resume() noexcept -> std::tuple<_Ts&...> in await_resume()
225 __promise(_Action&&, _Ts&&... __ts) noexcept : __args_{__ts...} in __promise()
229 explicit __promise(_Action&&, _Ts&... __ts) noexcept : __args_{__ts...}
276 std::tuple<_Ts&...> __args_{};
286 template <class _Action, class... _Ts>
287 static auto __impl(_Action __action, _Ts... __ts) -> __task<_Ts...> in __impl()
289 co_await static_cast<_Action&&>(__action)(static_cast<_Ts&&>(__ts)...); in __impl()
293 template <class _Action, class... _Ts>
294 requires __callable<__decay_t<_Action>, __decay_t<_Ts>...>
[all …]
H A Dscope.hpp23 template <class _Fn, class... _Ts>
24 requires stdexec::__nothrow_callable<_Fn, _Ts...>
27 stdexec::__scope_guard<_Fn, _Ts...> __guard_;
34 template <class _Fn, class... _Ts>
35 scope_guard(_Fn, _Ts...) -> scope_guard<_Fn, _Ts...>;
H A Dfunctional.hpp38 template <class... _Ts>
39 requires __callable<_Fun1, _Ts...> &&
40 __callable<_Fun0, __call_result_t<_Fun1, _Ts...>>
42 __call_result_t<_Fun0, __call_result_t<_Fun1, _Ts...>> operator()( in operator ()()
43 _Ts&&... __ts) && in operator ()()
46 static_cast<_Fun1&&>(__t1_)(static_cast<_Ts&&>(__ts)...)); in operator ()()
49 template <class... _Ts>
50 requires __callable<const _Fun1&, _Ts...> &&
51 __callable<const _Fun0&, __call_result_t<const _Fun1&, _Ts...>>
53 __call_result_t<_Fun0, __call_result_t<_Fun1, _Ts...>> operator()( in operator ()()
[all …]
H A Dasync_scope.hpp495 template <class _Tag, class... _Ts>
496 struct __completion_as_tuple2_<_Tag(_Ts...)>
498 using __t = std::tuple<_Tag, _Ts...>;
505 template <class _Tag, class... _Ts>
506 auto __completion_as_tuple_(_Tag (*)(_Ts...)) -> std::tuple<_Tag, _Ts...>;
513 template <class... _Ts>
514 using __decay_values_t = completion_signatures<set_value_t(__decay_t<_Ts>...)>;
H A Denv.hpp73 template <class... _Ts>
74 using make_env_t = stdexec::__result_of<make_env, _Ts...>;