Home
last modified time | relevance | path

Searched refs:_Fn (Results 1 – 13 of 13) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__meta.hpp381 template <template <class...> class _Fn, class... _Args>
384 ::template __g<_Fn, _Args...>; //
386 template <template <class...> class _Fn, class... _Args>
390 template <template <class...> class _Fn, class... _Args>
391 requires __typename<__meval__<_Fn, _Args...>>
392 struct __meval_<_Fn, _Args...>
394 using __t = __meval__<_Fn, _Args...>;
397 template <template <class...> class _Fn, class... _Args>
398 using __meval = __t<__meval_<_Fn, _Args...>>;
400 template <class _Fn, class... _Args>
[all …]
H A D__scope.hpp23 template <class _Fn, class... _Ts>
24 requires __nothrow_callable<_Fn, _Ts...>
27 template <class _Fn>
28 struct __scope_guard<_Fn>
31 _Fn __fn_;
39 static_cast<_Fn&&>(__fn_)(); in ~__scope_guard()
48 template <class _Fn, class _T0>
49 struct __scope_guard<_Fn, _T0>
52 _Fn __fn_;
68 static_cast<_Fn&&>(__fn_)(static_cast<_T0&&>(__t0_)); in ~__scope_guard()
[all …]
H A D__tuple.hpp73 template <class _Fn, class _Self, class... _Us>
75 static auto apply(_Fn&& __fn, _Self&& __self, _Us&&... __us) // in apply()
76 noexcept(noexcept(static_cast<_Fn&&>(__fn)( in apply()
79 -> decltype(static_cast<_Fn&&>(__fn)( in apply()
83 return static_cast<_Fn&&>( in apply()
88 template <class _Fn, class _Self, class... _Us>
89 requires(__callable<_Fn, _Us..., __copy_cvref_t<_Self, _Ts>> && ...)
91 static auto for_each(_Fn&& __fn, _Self&& __self, _Us&&... __us) // in for_each()
92 noexcept((__nothrow_callable<_Fn, _Us..., __copy_cvref_t<_Self, _Ts>> && in for_each()
95 return (static_cast<_Fn&&>(__fn)( in for_each()
[all …]
H A D__variant.hpp56 template <class _Fn, class... _Us>
58 void visit(_Fn&&, _Us&&...) const noexcept in visit() argument
157 template <std::size_t _Ny, class _Fn, class... _As>
159 __at<_Ny>& emplace_from_at(_Fn&& __fn, _As&&... __as) // in emplace_from_at()
160 noexcept(__nothrow_callable<_Fn, _As...>) in emplace_from_at()
162 static_assert(__same_as<__call_result_t<_Fn, _As...>, __at<_Ny>>, in emplace_from_at()
167 __at<_Ny>(static_cast<_Fn&&>(__fn)(static_cast<_As&&>(__as)...)); in emplace_from_at()
172 template <class _Fn, class... _As>
174 auto emplace_from(_Fn&& __fn, _As&&... __as) // in emplace_from()
175 noexcept(__nothrow_callable<_Fn, _As...>) in emplace_from()
[all …]
H A D__sender_introspection.hpp48 template <class _Fn>
49 using __f = __minvoke<_Fn, _Tag, _Data, _Child...>;
52 template <class _Fn>
57 -> __minvoke<_Fn, _Tag, _Data, _Child...>;
60 template <class _CvrefSender, class _Fn>
62 __call_result_t<__sexpr_apply_t, _CvrefSender, __sexpr_uncurry_fn<_Fn>>;
105 template <class _Fn>
106 using __f = __detail::__sexpr_uncurry<_Tp, _Fn>;
H A D__cpo.hpp114 template <class _Fn>
115 using __arg_type_t = typename __arg_type<_Fn>::type;
126 template <class _Fn>
127 using __tag_type_t = typename __tag_type<_Fn>::type;
H A D__receivers.hpp35 template <class _Fn, class... _Args>
36 using __f = __minvoke<_Fn, _Args...>;
69 template <class _Fn, class... _Args>
71 using __f = __minvoke<_Fn, _Args...>;
105 template <class _Fn, class... _Args>
107 using __f = __minvoke<_Fn, _Args...>;
H A D__basic_sender.hpp484 []<class _Fn>(_Fn __fn) noexcept {
487 noexcept(__nothrow_callable<const _Fn&, _Rest...>)
488 -> __call_result_t<const _Fn&, _Rest...> {
H A D__let.hpp549 [&]<class _Fn, class _Child>(__ignore, _Fn&& __fn,
554 return __let_state_t{static_cast<_Fn&&>(__fn), __sched};
H A D__execution_fwd.hpp125 template <class _Fn>
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dfunctional.hpp264 template <std::size_t... _Is, class _Fn, class _Tup>
266 constexpr auto __impl(__indices<_Is...>, _Fn&& __fn, _Tup&& __tup) // in __impl()
267 noexcept(noexcept(__invoke(static_cast<_Fn&&>(__fn), in __impl()
269 -> decltype(__invoke(static_cast<_Fn&&>(__fn), in __impl()
272 return __invoke(static_cast<_Fn&&>(__fn), in __impl()
280 template <class _Fn, class _Tup>
282 __tuple_indices<_Tup>(), __declval<_Fn>(), __declval<_Tup>()));
285 template <class _Fn, class _Tup>
286 concept __applicable = __mvalid<__apply_::__result_t, _Fn, _Tup>;
288 template <class _Fn, class _Tup>
[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 Dasync_scope.hpp492 template <class _Fn>
500 template <class _Fn>
501 using __completion_as_tuple_t = stdexec::__t<__completion_as_tuple2_<_Fn>>;
508 template <class _Fn>
510 decltype(__scope::__completion_as_tuple_(static_cast<_Fn*>(nullptr)));