NVIDIA / NVIDIA/stdexec

inplace_stop_callback is missing the template-deduction guide

Open
#1,420 0 comments 0 reactions 0 assignees View on GitHub

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.

See https://eel.is/c++draft/stopcallback.inplace.general

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.