Skip to content

Conversation

@guitargeek
Copy link
Contributor

@guitargeek guitargeek commented Jan 7, 2026

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:

Corresponding ROOT commit:

Corresponding cppyy PR with the unit test:

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/root#20687 (comment)

Corresponding ROOT commit:
  * root-project/root@9976d3b#diff-5c6046149708192850b028f56795eafff3a409f2eba6e02790beb0c14423844f
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.

1 participant