Home
last modified time | relevance | path

Searched refs:_Tp (Results 1 – 12 of 12) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__type_traits.hpp27 template <class _Tp>
28 extern auto (*__declval)() noexcept -> _Tp&&;
145 template <class _Tp>
146 using __f = _Tp;
151 template <class _Tp>
152 using __f = const _Tp;
157 template <class _Tp>
158 using __f = _Tp&;
163 template <class _Tp>
164 using __f = _Tp&&;
[all …]
H A D__optional.hpp46 template <class _Tp>
49 static_assert(destructible<_Tp>);
53 _Tp __value;
65 requires constructible_from<_Tp, _Up>
70 requires constructible_from<_Tp, _Us...>
84 requires constructible_from<_Tp, _Us...>
85 _Tp& emplace(_Us&&... __us) noexcept( in emplace()
86 __nothrow_constructible_from<_Tp, _Us...>) in emplace()
89 ::new (&__value) _Tp{static_cast<_Us&&>(__us)...}; in emplace()
94 _Tp& value() & in value()
[all …]
H A D__as_awaitable.hpp228 template <class _Tp, class _Promise>
231 if constexpr (tag_invocable<as_awaitable_t, _Tp, _Promise&>) in __select_impl_()
233 using _Result = tag_invoke_result_t<as_awaitable_t, _Tp, _Promise&>; in __select_impl_()
235 nothrow_tag_invocable<as_awaitable_t, _Tp, _Promise&>; in __select_impl_()
239 else if constexpr (__awaitable<_Tp, __unspecified>) in __select_impl_()
241 using _Result = _Tp&&; in __select_impl_()
244 else if constexpr (__awaitable_sender<_Tp, _Promise>) in __select_impl_()
246 using _Result = __sender_awaitable_t<_Promise, _Tp>; in __select_impl_()
248 _Result, _Tp, __coro::coroutine_handle<_Promise>>; in __select_impl_()
253 using _Result = _Tp&&; in __select_impl_()
[all …]
H A D__utility.hpp141 template <class _Tp, class _Up>
143 auto __c_upcast(_Up&& u) noexcept -> __copy_cvref_t<_Up&&, _Tp> in __c_upcast()
144 requires __decays_to<_Tp, _Tp> in __c_upcast()
146 static_assert(STDEXEC_IS_BASE_OF(_Tp, __decay_t<_Up>)); in __c_upcast()
147 return (__copy_cvref_t<_Up&&, _Tp>)static_cast<_Up&&>(u); in __c_upcast()
152 template <class _Tp, class _Up>
154 auto __c_downcast(_Up&& u) noexcept -> __copy_cvref_t<_Up&&, _Tp> in __c_downcast()
155 requires __decays_to<_Tp, _Tp> in __c_downcast()
157 static_assert(STDEXEC_IS_BASE_OF(__decay_t<_Up>, _Tp)); in __c_downcast()
158 return (__copy_cvref_t<_Up&&, _Tp>)static_cast<_Up&&>(u); in __c_downcast()
H A D__sender_adaptor_closure.hpp35 template <class _Tp>
37 derived_from<__decay_t<_Tp>, sender_adaptor_closure<__decay_t<_Tp>>> &&
38 move_constructible<__decay_t<_Tp>> //
39 && constructible_from<__decay_t<_Tp>, _Tp>;
41 template <class _Tp, class _Sender>
43 __sender_adaptor_closure<_Tp> //
45 && __callable<_Tp, __decay_t<_Sender>> //
46 && sender<__call_result_t<_Tp, __decay_t<_Sender>>>;
H A D__env.hpp51 template <class _Tp>
54 typename __mbool<_Tp::value>;
110 template <class _Tp>
111 requires tag_invocable<execute_may_block_caller_t, __cref_t<_Tp>>
112 constexpr auto operator()(_Tp&& __t) const noexcept -> bool in operator ()()
116 __cref_t<_Tp>>>); in operator ()()
118 nothrow_tag_invocable<execute_may_block_caller_t, __cref_t<_Tp>>); in operator ()()
131 template <class _Tp>
132 requires tag_invocable<get_forward_progress_guarantee_t, __cref_t<_Tp>>
133 constexpr auto operator()(_Tp&& __t) const noexcept( in operator ()()
[all …]
H A D__awaitable.hpp26 template <class _Tp>
28 __one_of<_Tp, void, bool> ||
29 __is_instance_of<_Tp, __coro::coroutine_handle>;
130 template <class _Tp>
131 auto __as_lvalue(_Tp&&) -> _Tp&;
H A D__meta.hpp35 template <class _Tp>
36 using __t = typename _Tp::__t;
53 template <class _Tp>
54 using __midentity = _Tp;
104 template <class _Tp, class _Up>
105 using __mfirst = _Tp;
108 template <class _Tp, class _Up>
114 template <class _Tp>
115 extern const __undefined<_Tp> __v;
117 template <class _Tp>
[all …]
H A D__sender_introspection.hpp101 template <class _Tp>
102 requires __mvalid<tag_of_t, _Tp>
103 struct __muncurry_<_Tp>
106 using __f = __detail::__sexpr_uncurry<_Tp, _Fn>;
H A D__execution_fwd.hpp128 template <class _Tp>
129 using stop_token_of_t = __decay_t<__call_result_t<get_stop_token_t, _Tp>>;
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dany_sender_of.hpp35 template <class _VTable, class _Tp>
37 __mtype<_VTable>, __mtype<_Tp>>
38 constexpr auto operator()(__mtype<_VTable>, __mtype<_Tp>) const noexcept in operator ()()
42 __mtype<_Tp>{}); in operator ()()
181 template <class _Storage, class _Tp>
185 requires __callable<_Tag, __mtype<_Tp>, _Storage&, _As...>
190 return _Tag{}(__mtype<_Tp>{}, *static_cast<_Storage*>(__storage), in __anon1bf2f58b0702()
196 requires __callable<_Tag, __mtype<_Tp>, _Storage&, _As...>
202 __nothrow_callable<_Tag, __mtype<_Tp>, _Storage&, _As...>); in __anon1bf2f58b0802()
203 return _Tag{}(__mtype<_Tp>{}, *static_cast<_Storage*>(__storage), in __anon1bf2f58b0802()
[all …]
H A Dsequence_senders.hpp158 template <class _Tp>
159 concept __has_item_typedef = requires { typename _Tp::item_types; };