Skip to content

Conversation

@guitargeek
Copy link
Contributor

Implicit conversion from C++ instances to function pointers is not allowed in C++, and it can result in confusing overload resolutions if we allow it in cppyy.

See:
#20687 (comment)

Copy link
Collaborator

@ferdymercury ferdymercury left a comment

Choose a reason for hiding this comment

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

thks

Implicit conversion from C++ instances to function pointers is not
allowed in C++, and it can result in confusing overload resolutions if
we allow it in cppyy.

See:
root-project#20687 (comment)
Copy link
Member

@vepadulano vepadulano left a comment

Choose a reason for hiding this comment

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

LGTM, feel free to merge once the CI is green.

@guitargeek guitargeek merged commit 9976d3b into root-project:master Dec 11, 2025
25 of 28 checks passed
@guitargeek guitargeek deleted the issue-20687 branch December 11, 2025 20:05
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