Skip to content

Update Task to be compatible with std::expected - #137

Open
pum1k wants to merge 1 commit into
pum1k/feat/c++23from
pum1k/fix/coro-expected-compatibility
Open

pum1k wants to merge 1 commit into
pum1k/feat/c++23from
pum1k/fix/coro-expected-compatibility

Conversation

@pum1k

@pum1k pum1k commented Sep 14, 2026

Copy link
Copy Markdown
Member

Creating mrs_lib::coro::Task that returned std::expected caused wrong overload selection when comparing coroutine handle with nullptr. This fixes these issues by using the operator bool instead of comparing with nullptr.

@pum1k
pum1k added this pull request to stack #138 September 14, 2026 09:08
Creating mrs_lib::coro::Task that returned std::expected caused wrong
overload selection when comparing coroutine handle with nullptr.
This fixes these issues by using the operator bool instead of comparing
with nullptr.
@pum1k
pum1k force-pushed the pum1k/fix/coro-expected-compatibility branch from 09d3c22 to 597333e Compare September 14, 2026 09:09

This branch has not been deployed

No deployments
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.

1 participant