Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inplace_stop_callback is missing the template-deduction guide #1420

Open
lewissbaker opened this issue Oct 7, 2024 · 0 comments
Open

inplace_stop_callback is missing the template-deduction guide #1420

lewissbaker opened this issue Oct 7, 2024 · 0 comments

Comments

@lewissbaker
Copy link
Contributor

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

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

No branches or pull requests

1 participant