https://github.com/root-project/root
Revision f521280f979bca90347f1c58153acc35bcfb71c4 authored by Jonas Rembser on 04 April 2024, 00:07:22 UTC, committed by Jonas Rembser on 23 April 2024, 01:32:26 UTC
The automatic conversion of ordinary obejcts to smart pointers is
disabled for PyROOT because it can cause trouble with overload
resolution. If a function has overloads for both ordinary objects and
smart pointers, then the implicit conversion to smart pointers can
result in the smart pointer overload being hit, even though there would
be an overload for the regular object. Since PyROOT didn't have this
feature before 6.32 anyway, disabling it was the safest option.

Closes #15117.
1 parent 88fc928
History
Tip revision: f521280f979bca90347f1c58153acc35bcfb71c4 authored by Jonas Rembser on 04 April 2024, 00:07:22 UTC
[PyROOT] Disable automatic conversion of regular to smart pointers
Tip revision: f521280

README.md

back to top