Skip to content

Conversation

@mjp41
Copy link
Member

@mjp41 mjp41 commented May 7, 2025

Use the final parameter to when as the closure to call. This simplifies various parts of the C++ API, and have a, hopefully, easier to follow code structure.

Use the final parameter to `when` as the closure to call.  This simplifies various parts of the C++ API, and have a, hopefully, easier to follow code structure.
@mjp41
Copy link
Member Author

mjp41 commented May 7, 2025

I'd recommend reading when.h not as a diff, but just as is. The changes are too much for a diff to make sense.

mjp41 added 3 commits May 7, 2025 09:58
The staging of the move was occuring too early and making the cown null.  I guess there was a subtle UB here.
Copy link
Collaborator

@marioskogias marioskogias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Everything is so much cleaner now!

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.

2 participants