Commit 19821af
committed
Add range-based when_all overloads and consolidate internals (#205)
Add when_all(Range&&) overloads for homogeneous non-void and void
awaitable ranges, matching the existing when_any range API. Extract
when_all_core and unify runner types to reduce internal duplication.
- Add IoAwaitableRange concept to concept/io_awaitable.hpp (shared
with when_any)
- Add when_all_homogeneous_state<T>, when_all_homogeneous_state<void>,
and when_all_homogeneous_launcher<Range> for range support
- Extract when_all_core from duplicated state members
- Unify when_all_runner and when_all_homogeneous_runner into single
when_all_runner<StateType>
- Remove duplicate IoAwaitableRange definition from when_any.hpp
- Add when_all_range_test suite (11 tests)1 parent ecdb076 commit 19821af
4 files changed
Lines changed: 693 additions & 125 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
124 | 138 | | |
125 | 139 | | |
126 | 140 | | |
| |||
0 commit comments