Skip to content

Fixed CPO forwarding issue#7221

Closed
kollanur wants to merge 2 commits intoTheHPXProject:masterfrom
kollanur:CPO_forwarding
Closed

Fixed CPO forwarding issue#7221
kollanur wants to merge 2 commits intoTheHPXProject:masterfrom
kollanur:CPO_forwarding

Conversation

@kollanur
Copy link
Copy Markdown
Contributor

Fixes #

Ensures proper CPO forwarding

Signed-off-by: Bharath <bharath.kollanur@gmail.com>
@kollanur kollanur requested a review from hkaiser as a code owner April 23, 2026 00:21
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes. Give us feedback

@StellarBot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@hkaiser
Copy link
Copy Markdown
Contributor

hkaiser commented Apr 23, 2026

@kollanur Thanks for looking into this. After reviewing the changes again, I believe that the old code was correct after all. The idea was for the helpers to be the last resort fallback if the customization point was not overloaded anywhere. In order to be able to distinguish between the fallback and some overloaded version, the helpers explicitly invoke the member function. Could you please provide an example where the original code fails? We should find a different solution fixing your problem.

@kollanur
Copy link
Copy Markdown
Contributor Author

@kollanur Thanks for looking into this. After reviewing the changes again, I believe that the old code was correct after all. The idea was for the helpers to be the last resort fallback if the customization point was not overloaded anywhere. In order to be able to distinguish between the fallback and some overloaded version, the helpers explicitly invoke the member function. Could you please provide an example where the original code fails? We should find a different solution fixing your problem.

https://github.com/TheHPXProject/hpx/pull/7192/changes#diff-8ebd52aa46a91d0548d44d41caa09cb2e784e9235c6d5f32a85e1a4f953a83a8
In the following test case, the original code fails.

@hkaiser hkaiser added this to the 2.0.0 milestone Apr 24, 2026
@hkaiser
Copy link
Copy Markdown
Contributor

hkaiser commented Apr 24, 2026

Closing this as invalid. Let's come back to this once we have a better understanding of the issue.

@hkaiser hkaiser closed this Apr 24, 2026
@kollanur kollanur deleted the CPO_forwarding branch April 24, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants