Skip to content

Conversation

@romintomasetti
Copy link
Contributor

@romintomasetti romintomasetti commented Jan 23, 2026

Motivation

C++23's expanded constexpr support enables compile-time computations with complex types, but stdexec currently lacks the annotations needed to use sender/receiver patterns in constant expressions.

Changes

This PR adds constexpr annotations to make just constructible and connectable at compile time.

See the added test for usage.

I've tried to make then work too, so that at least some interesting sender can be constructed that really does some work, but there were too many issues I couldn't fix myself.

Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jan 23, 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.

@romintomasetti
Copy link
Contributor Author

@ericniebler It might be a first step towards yours (#1772).

@RobertLeahy
Copy link
Contributor

RobertLeahy commented Jan 23, 2026

Rationale for closing #1771 seems to apply here as well.

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