Open torokati44 opened 2 years ago
Yes, this is known: Cling does not currently expose friend declarations, so these are not available for lookup.
Hmm, I see... :/ Are you aware of any plans or effort adding this to Cling?
No, I'm not aware of that. Probably have to do that myself at some point ...
@torokati44 https://github.com/flatsurf/cppyythonizations/blob/master/src/cppyythonizations/operators/arithmetic.py might work as a workaround in your example.
Thank you! This is similar to what I had in mind, so it's good to see it actually done somewhere.
See this example code:
I would expect to see this:
Instead, I'm getting this: