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

co_composed.hpp: Guard use of async_operation #1556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iv-m
Copy link

@iv-m iv-m commented Nov 5, 2024

async_operation is defined only when concepts are in use. When ASIO_DISABLE_CONCEPTS is defined, bare typename should be used instead.

We can't use ASIO_ASYNC_OPERATION macros here, as it currently does not have a no-argument form.

Fixes: #1547

`async_operation` is defined only when concepts are in use.
When ASIO_DISABLE_CONCEPTS is defined, bare `typename`
should be used instead.

We can't use ASIO_ASYNC_OPERATION macros here, as it currently
does not have a no-argument form.

Fixes: chriskohlhoff#1547
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.

Asio from Boost 1.86.0 fails to build with C++20 w/o concepts
1 participant