Skip to content

Commit ea4a34d

Browse files
committed
Add stdexec::simple_counting_scope and stdexec::counting_scope
This diff adds `stdexec::simple_counting_scope` and `stdexec::counting_scope` plus tests for both. The tests found a spec bug that's been filed as an LWG issue.
1 parent 5196db9 commit ea4a34d

File tree

5 files changed

+1008
-1
lines changed

5 files changed

+1008
-1
lines changed

include/stdexec/__detail/__associate.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ namespace stdexec {
212212
static constexpr auto get_completion_signatures =
213213
[]<class _Sender, class... _Env>(_Sender&&, _Env&&...) noexcept
214214
-> transform_completion_signatures<
215-
__completion_signatures_of_t<__wrap_sender_of_t<_Sender>>,
215+
__completion_signatures_of_t<__wrap_sender_of_t<_Sender>, _Env...>,
216216
completion_signatures<set_stopped_t()>
217217
> {
218218
static_assert(sender_expr_for<_Sender, associate_t>);

0 commit comments

Comments
 (0)