1212
1313namespace {
1414auto test_bulk () {
15- auto b0 = test_std::bulk ( test_std::just (), 1 , [](int ) {});
15+ auto b0 = test_std::just () | test_std::bulk ( 1 , [](int ) {});
1616
1717 static_assert (test_std::sender<decltype (b0)>);
1818 auto b0_env = test_std::get_env (b0);
@@ -25,7 +25,7 @@ auto test_bulk() {
2525
2626 int counter = 0 ;
2727
28- auto b1 = test_std::bulk ( test_std::just (), 5 , [&](int i) { counter += i; });
28+ auto b1 = test_std::just () | test_std::bulk ( 5 , [&](int i) { counter += i; });
2929
3030 static_assert (test_std::sender<decltype (b1)>);
3131 auto b1_env = test_std::get_env (b0);
@@ -43,9 +43,9 @@ auto test_bulk() {
4343
4444 std::vector<int > results (a.size (), 0 );
4545
46- auto b2 = test_std::bulk ( test_std:: just (a), a.size (), [&](std::size_t index, const std::vector<int >& vec) {
47- results[index] = vec[index] * b[index];
48- });
46+ auto b2 = test_std::just (a) | test_std::bulk ( a.size (), [&](std::size_t index, const std::vector<int >& vec) {
47+ results[index] = vec[index] * b[index];
48+ });
4949 static_assert (test_std::sender<decltype (b2)>);
5050 auto b2_env = test_std::get_env (b2);
5151 auto b2_completions = test_std::get_completion_signatures (b2, b2_env);
@@ -65,7 +65,7 @@ auto test_bulk() {
6565}
6666
6767auto test_bulk_noexept () {
68- auto b0 = test_std::bulk ( test_std::just (), 1 , [](int ) noexcept {});
68+ auto b0 = test_std::just () | test_std::bulk ( 1 , [](int ) noexcept {});
6969 auto b0_env = test_std::get_env (b0);
7070 auto b0_completions = test_std::get_completion_signatures (b0, b0_env);
7171 static_assert (std::is_same_v<decltype (b0_completions),
@@ -75,7 +75,7 @@ auto test_bulk_noexept() {
7575
7676 int counter = 0 ;
7777
78- auto b1 = test_std::bulk ( test_std::just (), 5 , [&](int i) noexcept { counter += i; });
78+ auto b1 = test_std::just () | test_std::bulk ( 5 , [&](int i) noexcept { counter += i; });
7979
8080 static_assert (test_std::sender<decltype (b1)>);
8181 auto b1_env = test_std::get_env (b0);
0 commit comments