I noticed that the heuristic memory policy, which is not the default in cppyy, behaves different from it's incarnation in ROOT.
I thought a const pointer should never mean ownership transfer, but this doesn't seem to be respected anymore. Was there a deliberate change in the heuristic policy, or was this unintended?
I noticed that the heuristic memory policy, which is not the default in cppyy, behaves different from it's incarnation in ROOT.
I thought a
const
pointer should never mean ownership transfer, but this doesn't seem to be respected anymore. Was there a deliberate change in the heuristic policy, or was this unintended?This issue is a blocker for one of the three remaining test failures in the ROOT synchronization: https://github.com/root-project/root/pull/14507
Reproducer: