Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jbaldwin
Copy link
Owner

This is a step towards using a more modern container within the task promise and reduce some manual overhead around managing the unsigned char[] that would store the return value but retaining the benefits that that solution brought to the task's promise class.

Closes #196

@jbaldwin jbaldwin self-assigned this Oct 27, 2023
@jbaldwin jbaldwin force-pushed the issue-196/std-variant-for-task-promise branch from 8baac24 to 231a460 Compare October 27, 2023 21:06
This is a step towards using a more modern container within the task
promise and reduce some manual overhead around managing the unsigned
char[] that would store the return value but retaining the benefits that
that solution brought to the task's promise class.

Closes #196
@jbaldwin jbaldwin force-pushed the issue-196/std-variant-for-task-promise branch from 231a460 to b82003d Compare October 27, 2023 21:22
@jbaldwin
Copy link
Owner Author

@a858438680 if you have some time I'd appreciate a review on this more modern take for the task optimizations.

@jbaldwin jbaldwin merged commit 5c6d762 into main Nov 8, 2023
@jbaldwin jbaldwin deleted the issue-196/std-variant-for-task-promise branch November 8, 2023 03:19
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.

Explore std::variant for coro::task return value / exception

2 participants