Skip to content

Conversation

@justend29
Copy link
Contributor

Currently, the repeat_ family of sender adapters invariantly contributes set_error_t(std::exception_ptr) to its completion signatures, which I first mentioned in this issue. This PR causes repeat_until, repeat, and repeat_n to conditionally contribute set_error_t(std::exception_ptr) to the completion signatures. Each of the possible cases (not) to contribute the completion signature are individually tested.

It also contains some small corrections that were originally in #1797, until @RobertLeahy informed me that it is possible to detect the noexcept-ness of a connect using STDEXEC::__receiver_archetype<Env>, wherein I returned to this original goal.

This is also my first time working with the meta-programming system in this library, so feedback is welcome.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 28, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@justend29
Copy link
Contributor Author

Thank you for the review, @ericniebler. All of your comments have been addressed, though __partition_completion_signatures_t was changed to __partitions_of_t to compile.

@ericniebler
Copy link
Collaborator

/ok to test ac8352c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants