@@ -249,8 +249,7 @@ namespace exec {
249249 class _Allocator ,
250250 bool _Copyable = false ,
251251 std::size_t _InlineSize = 3 * sizeof (void *),
252- std::size_t _Alignment = alignof (std::max_align_t )
253- >
252+ std::size_t _Alignment = alignof (std::max_align_t )>
254253 struct __storage {
255254 class __t ;
256255 };
@@ -259,8 +258,7 @@ namespace exec {
259258 class _Vtable ,
260259 class _Allocator ,
261260 std::size_t _InlineSize = 3 * sizeof (void *),
262- std::size_t _Alignment = alignof (std::max_align_t )
263- >
261+ std::size_t _Alignment = alignof (std::max_align_t )>
264262 struct __immovable_storage {
265263 class __t : __immovable {
266264 static constexpr std::size_t __buffer_size = std::max(_InlineSize, sizeof (void *));
@@ -378,8 +376,7 @@ namespace exec {
378376 class _Allocator ,
379377 bool _Copyable,
380378 std::size_t _InlineSize,
381- std::size_t _Alignment
382- >
379+ std::size_t _Alignment>
383380 class __storage <_Vtable, _Allocator, _Copyable, _InlineSize, _Alignment>::__t
384381 : __if_c<_Copyable, __, __move_only> {
385382 static_assert (
@@ -398,8 +395,7 @@ namespace exec {
398395 using __vtable_t = __if_c<
399396 _Copyable,
400397 __storage_vtable<_Vtable, __with_delete, __with_move, __with_copy>,
401- __storage_vtable<_Vtable, __with_delete, __with_move>
402- >;
398+ __storage_vtable<_Vtable, __with_delete, __with_move>>;
403399
404400 template <class _Tp >
405401 static constexpr auto __get_vtable_of_type () noexcept -> const __vtable_t* {
@@ -410,8 +406,7 @@ namespace exec {
410406 _Vtable,
411407 __with_delete,
412408 __with_move,
413- __with_copy
414- >;
409+ __with_copy>;
415410 } else {
416411 return &__storage_vtbl<__t , __decay_t <_Tp>, _Vtable, __with_delete, __with_move>;
417412 }
@@ -446,8 +441,8 @@ namespace exec {
446441 }
447442
448443 __t (const __t & __other)
449- requires (_Copyable) : __vtable_(__other.__vtable_)
450- {
444+ requires (_Copyable)
445+ : __vtable_(__other.__vtable_) {
451446 (*__other.__vtable_ )(__copy_construct, this , __other);
452447 }
453448
@@ -461,7 +456,8 @@ namespace exec {
461456 return *this ;
462457 }
463458
464- __t (__t && __other) noexcept : __vtable_(__other.__vtable_) {
459+ __t (__t && __other) noexcept
460+ : __vtable_(__other.__vtable_) {
465461 (*__other.__vtable_ )(__move_construct, this , static_cast <__t &&>(__other));
466462 }
467463
@@ -587,8 +583,7 @@ namespace exec {
587583 class _VTable = __empty_vtable,
588584 class _Allocator = std::allocator<std::byte>,
589585 std::size_t _InlineSize = 3 * sizeof (void *),
590- std::size_t _Alignment = alignof (std::max_align_t )
591- >
586+ std::size_t _Alignment = alignof (std::max_align_t )>
592587 using __immovable_storage_t =
593588 __t <__immovable_storage<_VTable, _Allocator, _InlineSize, _Alignment>>;
594589
@@ -598,8 +593,7 @@ namespace exec {
598593 template <
599594 class _VTable ,
600595 std::size_t _InlineSize = 3 * sizeof (void *),
601- class _Allocator = std::allocator<std::byte>
602- >
596+ class _Allocator = std::allocator<std::byte>>
603597 using __copyable_storage_t = __t <__storage<_VTable, _Allocator, true , _InlineSize>>;
604598
605599 template <class _Tag , class ... _As>
@@ -743,8 +737,7 @@ namespace exec {
743737 using _FilteredQueries =
744738 __minvoke<__mremove_if<__q<__is_never_stop_token_query>>, _Queries...>;
745739 using __vtable_t = stdexec::__t <
746- __mapply<__mbind_front_q<__vtable, completion_signatures<_Sigs...>>, _FilteredQueries>
747- >;
740+ __mapply<__mbind_front_q<__vtable, completion_signatures<_Sigs...>>, _FilteredQueries>>;
748741
749742 struct __env_t {
750743 const __vtable_t * __vtable_;
@@ -835,8 +828,7 @@ namespace exec {
835828 STDEXEC_ATTRIBUTE (no_unique_address) _Receiver __rcvr_;
836829 stdexec::inplace_stop_source __stop_source_{};
837830 using __stop_callback = typename stdexec::stop_token_of_t <
838- stdexec::env_of_t <_Receiver>
839- >::template callback_type<__on_stop_t >;
831+ stdexec::env_of_t <_Receiver>>::template callback_type<__on_stop_t >;
840832 std::optional<__stop_callback> __on_stop_{};
841833 };
842834
@@ -851,11 +843,12 @@ namespace exec {
851843 using receiver_concept = stdexec::receiver_t ;
852844 __operation_base<_Receiver>* __op_;
853845
854- template <same_as< __t > _Self, class _Item >
846+ template <class _Item >
855847 requires __callable<set_next_t , _Receiver&, _Item>
856- STDEXEC_MEMFN_DECL (auto set_next)(this _Self& __self, _Item&& __item) noexcept
848+ [[nodiscard]]
849+ auto set_next (_Item&& __item) & noexcept (__nothrow_callable<set_next_t , _Receiver&, _Item>)
857850 -> __call_result_t<set_next_t, _Receiver&, _Item> {
858- return exec::set_next (__self. __op_ ->__rcvr_ , static_cast <_Item&&>(__item));
851+ return exec::set_next (__op_->__rcvr_ , static_cast <_Item&&>(__item));
859852 }
860853
861854 template <class ... _Args>
@@ -1045,8 +1038,7 @@ namespace exec {
10451038
10461039 template <receiver_of<_Sigs> _Rcvr>
10471040 auto connect (_Rcvr __rcvr) && -> stdexec::__t<
1048- __operation<stdexec::__id<_Rcvr>, __with_inplace_stop_token>
1049- > {
1041+ __operation<stdexec::__id<_Rcvr>, __with_inplace_stop_token>> {
10501042 return {static_cast <__t &&>(*this ), static_cast <_Rcvr&&>(__rcvr)};
10511043 }
10521044
@@ -1197,8 +1189,7 @@ namespace exec {
11971189 template <auto ... _SenderQueries>
11981190 class any_sender {
11991191 using __sender_base = stdexec::__t <
1200- __any::__sender<_Completions, queries<_SenderQueries...>, queries<_ReceiverQueries...>>
1201- >;
1192+ __any::__sender<_Completions, queries<_SenderQueries...>, queries<_ReceiverQueries...>>>;
12021193 __sender_base __sender_;
12031194
12041195 template <class _Tag , stdexec::__decays_to<any_sender> Self, class ... _As>
@@ -1229,8 +1220,7 @@ namespace exec {
12291220 // Add the required set_value_t() completions to the schedule-sender.
12301221 using __schedule_completions = stdexec::__concat_completion_signatures<
12311222 _Completions,
1232- stdexec::completion_signatures<stdexec::set_value_t ()>
1233- >;
1223+ stdexec::completion_signatures<stdexec::set_value_t ()>>;
12341224 using __schedule_receiver = any_receiver_ref<__schedule_completions, _ReceiverQueries...>;
12351225
12361226 template <typename _Tag, typename _Sig>
@@ -1245,10 +1235,8 @@ namespace exec {
12451235
12461236 using __schedule_sender_queries = stdexec::__minvoke<
12471237 stdexec::__mremove_if<
1248- __ret_equals_to<stdexec::get_completion_scheduler_t <stdexec::set_value_t >>
1249- >,
1250- decltype (_SenderQueries)...
1251- >;
1238+ __ret_equals_to<stdexec::get_completion_scheduler_t <stdexec::set_value_t >>>,
1239+ decltype (_SenderQueries)...>;
12521240
12531241#if STDEXEC_MSVC()
12541242 // MSVCBUG https://developercommunity.visualstudio.com/t/ICE-and-non-ICE-bug-in-NTTP-argument-w/10361081
@@ -1261,8 +1249,7 @@ namespace exec {
12611249#else
12621250 template <class ... _Queries>
12631251 using __schedule_sender_fn = typename __schedule_receiver::template any_sender<
1264- stdexec::get_completion_scheduler<stdexec::set_value_t >.template signature<any_scheduler() noexcept >
1265- >;
1252+ stdexec::get_completion_scheduler<stdexec::set_value_t >.template signature<any_scheduler() noexcept >>;
12661253#endif
12671254 using __schedule_sender =
12681255 stdexec::__mapply<stdexec::__q<__schedule_sender_fn>, __schedule_sender_queries>;
0 commit comments