Home
last modified time | relevance | path

Searched refs:_Ty (Results 1 – 22 of 22) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__concepts.hpp67 template <class _Ty, class _Up>
68 concept __decays_to = __same_as<__decay_t<_Ty>, _Up>;
70 template <class _Ty, class _Up>
71 concept __not_decays_to = !__decays_to<_Ty, _Up>;
82 template <class _Ty, class... _As>
83 concept __one_of = (__same_as<_Ty, _As> || ...);
85 template <class _Ty, class... _Us>
86 concept __all_of = (__same_as<_Ty, _Us> && ...);
88 template <class _Ty, class... _Us>
89 concept __none_of = ((!__same_as<_Ty, _Us>) && ...);
[all …]
H A D__type_traits.hpp42 template <class _Ty>
43 using __f = __decay(_Ty);
46 template <class _Ty>
47 using __decay_t = typename __tt::__decay_<sizeof(__tt::__wrap<_Ty>*) ==
48 ~0ul>::template __f<_Ty>;
52 template <class _Ty>
53 using __decay_t = std::decay_t<_Ty>;
61 template <class _Ty>
62 static _Ty __g(const _Ty&);
63 template <class _Ty>
[all …]
H A D__intrusive_ptr.hpp60 template <class _Ty, std::size_t _ReservedBits>
63 template <class _Ty, std::size_t _ReservedBits = 0ul>
66 template <class _Ty, std::size_t _ReservedBits = 0ul>
70 -> __intrusive_ptr<_Ty, _ReservedBits>;
72 -> __intrusive_ptr<const _Ty, _ReservedBits>;
76 friend _Ty;
91 template <class _Ty, std::size_t _ReservedBits>
97 alignas(_Ty) unsigned char __value_[sizeof(_Ty)];
101 explicit __control_block(_Us&&... __us) noexcept(noexcept(_Ty{ in __control_block()
107 ::new (static_cast<void*>(__value_)) _Ty{static_cast<_Us&&>(__us)...};
[all …]
H A D__manual_lifetime.hpp32 template <class _Ty>
54 stdexec::__nothrow_constructible_from<_Ty, _Args...>) -> _Ty& in __construct()
59 _Ty{static_cast<_Args&&>(__args)...}); in __construct()
66 auto __construct_from(_Func&& func, _Args&&... __args) -> _Ty& in __construct_from()
70 return *std::launder(::new (static_cast<void*>(__buffer_)) _Ty{ in __construct_from()
81 auto __get() & noexcept -> _Ty& in __get()
83 return *reinterpret_cast<_Ty*>(__buffer_); in __get()
88 auto __get() && noexcept -> _Ty&& in __get()
90 return static_cast<_Ty&&>(*reinterpret_cast<_Ty*>(__buffer_)); in __get()
95 auto __get() const& noexcept -> const _Ty& in __get()
[all …]
H A D__ranges.hpp47 template <class _Ty>
49 requires(_Ty&& __v) { static_cast<_Ty&&>(__v).begin(); };
51 template <class _Ty>
53 __has_member_begin<_Ty> ||
54 requires(_Ty&& __v) { begin((static_cast<_Ty&&>(__v))); };
56 template <class _Ty>
58 requires(_Ty&& __v) { static_cast<_Ty&&>(__v).end(); };
60 template <class _Ty>
62 __has_member_end<_Ty> ||
63 requires(_Ty&& __v) { end((static_cast<_Ty&&>(__v))); };
H A D__tuple.hpp29 template <class _Ty, std::size_t _Idx>
34 _Ty __value;
37 template <class _Ty>
39 STDEXEC_IS_EMPTY(_Ty) && STDEXEC_IS_TRIVIALLY_CONSTRUCTIBLE(_Ty);
41 template <__empty _Ty>
42 inline _Ty __value{};
45 template <__empty _Ty, std::size_t _Idx>
46 struct __box<_Ty, _Idx>
52 static constexpr _Ty& __value = __tup::__value<_Ty>;
129 template <std::size_t _Idx, class _Ty>
[all …]
H A D__diagnostics.hpp24 template <class _Ty>
27 template <class _Ty>
28 using __name_of_fn = decltype(__name_of_v<_Ty>);
30 template <class _Ty>
31 using __name_of = __minvoke<__name_of_fn<_Ty>, _Ty>;
35 template <class _Ty>
36 using __name_of = __detail::__name_of<_Ty>;
67 template <class _Ty>
H A D__utility.hpp115 template <class _Ty, class... _Ts>
118 constexpr bool __same[] = {STDEXEC_IS_SAME(_Ty, _Ts)..., false}; in __index_of()
132 template <class _Ty>
134 __detail::__forward_like<__copy_cvref_fn<_Ty&&>>;
163 template <class _Ty>
164 _Ty __decay_copy(_Ty) noexcept;
166 template <class _Ty>
171 __nothrow_constructible_from<_Ty, _Us...>) : in __indestructible()
177 _Ty& get() noexcept in get()
182 const _Ty& get() const noexcept in get()
[all …]
H A D__meta.hpp38 template <class _Ty>
41 using __t = _Ty;
151 template <class _Ty, _Ty... _Is>
168 template <class _Ty, _Ty... _Is>
349 template <class _Ty>
350 using __ok_t = decltype(__ok_v<_Ty>);
502 template <class _Ty>
503 using __f = _Fn<_Ty>;
509 template <class _Ty, class _Uy>
510 using __f = _Fn<_Ty, _Uy>;
[all …]
H A D__start_on.hpp37 template <class _Ty, class = __name_of<__decay_t<_Ty>>>
40 _Ty __val_;
42 auto operator()() noexcept -> _Ty in operator ()()
44 return static_cast<_Ty&&>(__val_); in operator ()()
48 template <class _Ty>
49 __always(_Ty) -> __always<_Ty>;
H A D__starts_on.hpp38 template <class _Ty, class = __name_of<__decay_t<_Ty>>>
41 _Ty __val_;
43 auto operator()() noexcept -> _Ty in operator ()()
45 return static_cast<_Ty&&>(__val_); in operator ()()
49 template <class _Ty>
50 __always(_Ty) -> __always<_Ty>;
H A D__read_env.hpp61 template <class _Tag, class _Ty>
65 using __result = _Ty;
66 __optional<_Ty> __result_;
69 template <class _Tag, class _Ty>
70 requires __same_as<_Ty, _Ty&&>
71 struct __state<_Tag, _Ty>
74 using __result = _Ty;
H A D__env.hpp286 template <class _Ty>
287 requires tag_invocable<get_domain_t, const _Ty&>
288 constexpr auto operator()(const _Ty& __ty) const noexcept in operator ()()
289 -> __decay_t<tag_invoke_result_t<get_domain_t, const _Ty&>> in operator ()()
291 static_assert(nothrow_tag_invocable<get_domain_t, const _Ty&>, in operator ()()
294 __class<__decay_t<tag_invoke_result_t<get_domain_t, const _Ty&>>>, in operator ()()
423 template <class _Ty>
424 auto await_transform(_Ty&& __value) noexcept -> _Ty&& in await_transform()
426 return static_cast<_Ty&&>(__value); in await_transform()
429 template <class _Ty>
[all …]
H A D__variant.hpp130 template <class _Ty, class... _As>
132 _Ty& emplace(_As&&... __as) // in emplace()
133 noexcept(__nothrow_constructible_from<_Ty, _As...>) in emplace()
135 constexpr std::size_t __new_index = stdexec::__index_of<_Ty, _Ts...>(); in emplace()
139 ::new (__storage_) _Ty{static_cast<_As&&>(__as)...}; in emplace()
141 return *std::launder(reinterpret_cast<_Ty*>(__storage_)); in emplace()
H A D__submit.hpp32 inline constexpr auto __ref = []<class _Ty>(_Ty& __ty) noexcept {
37 template <class _Ty>
38 using __ref_t = decltype(__ref(__declval<_Ty&>()));
H A D__stopped_as_optional.hpp63 template <class _Ty>
64 using __set_error_t = completion_signatures<set_error_t(_Ty)>;
H A D__bulk.hpp56 template <class _Ty>
57 using __decay_ref = __decay_t<_Ty>&;
H A D__transform_sender.hpp115 template <class _Ty, class _Uy>
116 concept __decay_same_as = same_as<__decay_t<_Ty>, __decay_t<_Uy>>;
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/
H A Dfunctional.hpp92 template <class _Memptr, class _Ty, class... _Args>
94 constexpr auto operator()(_Memptr __mem_ptr, _Ty&& __ty, in operator ()()
96 noexcept(noexcept(((static_cast<_Ty&&>(__ty)).* in operator ()()
98 -> decltype(((static_cast<_Ty&&>(__ty)).* in operator ()()
101 return ((static_cast<_Ty&&>(__ty)).*__mem_ptr)( in operator ()()
108 template <class _Memptr, class _Ty, class... _Args>
110 constexpr auto operator()(_Memptr __mem_ptr, _Ty __ty, in operator ()()
123 template <class _Memptr, class _Ty, class... _Args>
125 constexpr auto operator()(_Memptr __mem_ptr, _Ty&& __ty, in operator ()()
127 noexcept(noexcept(((*static_cast<_Ty&&>(__ty)).* in operator ()()
[all …]
H A Dtask.hpp49 template <class _Ty>
51 requires(const _Ty& t) { //
55 template <class _Ty>
57 requires(const _Ty& t) {
61 template <class _Ty>
63 requires(const _Ty& t) {
167 template <class _Ty>
171 template <class _Ty>
295 template <class _Ty>
298 void return_value(_Ty value) in return_value()
[all …]
H A Dasync_scope.hpp516 template <class _Ty>
517 using __decay_error_t = completion_signatures<set_error_t(__decay_t<_Ty>)>;
532 template <class _Ty>
535 __dynamic_delete() : __delete_([](_Ty* __p) { delete __p; }) {} in __anonf62d8bc60202()
538 requires convertible_to<_Uy*, _Ty*>
540 __delete_([](_Ty* __p) { delete static_cast<_Uy*>(__p); }) in __dynamic_delete()
544 requires convertible_to<_Uy*, _Ty*>
551 void operator()(_Ty* __p) in operator ()()
556 void (*__delete_)(_Ty*);
H A Dany_sender_of.hpp1267 template <class _Ty>
1269 sizeof(_Ty) <= __buffer_size &&
1270 alignof(_Ty) <= alignof(std::max_align_t);