Skip to content

Conversation

mjcaisse-intel
Copy link
Contributor

@mjcaisse-intel mjcaisse-intel commented Jul 13, 2024

Previous versions of message callback handler construction would deduce the ExtraArgs from the callable passed in by the user when forming the callback. This is no longer the case which means that the signature of msg::callback::handle does not match the signature of the contained callable.

This PR works around the issue; however, the real question is, "do we want to deduce the ExtraArgs from the user's handler? Deducing has some real problems because the handler is not always concrete (e.g. a generic lambda). I think the PR solution is probably the correct route.

@mjcaisse-intel mjcaisse-intel marked this pull request as ready for review July 13, 2024 05:01
@elbeno
Copy link
Contributor

elbeno commented Jul 13, 2024

If we remove ExtraArgs... in this one place we should strip it out from everywhere; it's now unused, right?

@mjcaisse
Copy link
Contributor

If we remove ExtraArgs... in this one place we should strip it out from everywhere; it's now unused, right?

I believe so. I'll update the PR.

@mjcaisse-intel mjcaisse-intel marked this pull request as draft July 14, 2024 07:26
@mjcaisse-intel mjcaisse-intel marked this pull request as ready for review July 16, 2024 21:02
@lukevalenty lukevalenty enabled auto-merge July 16, 2024 22:28
@lukevalenty lukevalenty merged commit cfc6543 into intel:main Jul 16, 2024
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.

5 participants