File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,7 @@ namespace exec {
180180 __scope.nest (static_cast <stdexec::__cvref_t <_SenderIds>&&>(__sndr)),
181181 __receiver_t {this })}...} {
182182 // Start all of the child operations
183- __op_state_.apply (
184- [](auto &... __op_state) noexcept { (stdexec::start (__op_state), ...); }, __op_state_);
183+ __op_state_.for_each (stdexec::start, __op_state_);
185184 }
186185
187186 bool request_stop () noexcept {
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ namespace exec {
219219 if (this ->__stop_source_ .stop_requested ()) {
220220 stdexec::set_stopped (static_cast <_Receiver&&>(this ->__rcvr_ ));
221221 } else {
222- __ops_.apply ([]( auto &... __ops) { ( stdexec::start (__ops), ...); } , __ops_);
222+ __ops_.for_each ( stdexec::start, __ops_);
223223 }
224224 }
225225
Original file line number Diff line number Diff line change @@ -378,9 +378,7 @@ namespace nvexec::STDEXEC_STREAM_DETAIL_NS {
378378 if constexpr (sizeof ...(SenderIds) == 0 ) {
379379 complete ();
380380 } else {
381- child_states_.apply (
382- [](auto &... __child_ops) noexcept -> void { (stdexec::start (__child_ops), ...); },
383- child_states_);
381+ child_states_.for_each (stdexec::start, child_states_);
384382 }
385383 }
386384 }
You can’t perform that action at this time.
0 commit comments