inplace_stop_callback is missing the template-deduction guide
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.4k
- Forks
- 270
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 39
Description
The inplace_stop_callback class is specified to have a class-template-argument-deduction guide so that you can write:
std::inplace_stop_callback cb{st, [&]() noexcept { /* some logic */ }};
However, the stdexec::inplace_stop_callback implementation is missing the CTAD declaration.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the stdexec::inplace_stop_callback implementation and compare its deduction behavior with the C++ standard section linked in the issue. Verify the provided construction example, then add the missing deduction support and confirm that the example compiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100