File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ namespace exec {
137137 using _when_all_sndr_t =
138138 fork_join_t ::_when_all_sndr_t <_child_completions_t , Closures, _domain_t >;
139139 using _child_opstate_t =
140- STDEXEC::connect_result_t <Sndr, STDEXEC::__rcvr_ref_t <_opstate_t , _env_t >>;
140+ STDEXEC::connect_result_t <Sndr, STDEXEC::__rcvr_ref_t <_opstate_t >>;
141141 using _fork_opstate_t =
142142 STDEXEC::connect_result_t <_when_all_sndr_t , STDEXEC::__rcvr_ref_t <Rcvr>>;
143143 using _cache_sndr_t = fork_join_t ::_cache_sndr_t <_variant_t <_child_completions_t >, _domain_t >;
Original file line number Diff line number Diff line change @@ -72,4 +72,13 @@ namespace {
7272 CHECK (i1 == 42 );
7373 CHECK (i2 == 42 );
7474 }
75+
76+ TEST_CASE (" fork_join with empty value channel" , " [adaptors][fork_join]" ) {
77+ auto sndr = ::STDEXEC::just () | ::STDEXEC::then ([]() noexcept -> void { })
78+ | exec::fork_join (
79+ ::STDEXEC::then ([]() noexcept -> void { }),
80+ ::STDEXEC::then ([]() noexcept -> void { }));
81+
82+ ::STDEXEC::sync_wait (std::move(sndr));
83+ }
7584} // namespace
You can’t perform that action at this time.
0 commit comments