-
I am trying to port a purely virtual overloaded operator As per the documentation I define a trampoline function with operator signature
then extend it on python side as:
As expected, when I access this class on C++ side , I get the following error:
Is what I am trying possible? Can we turn a purely virtual Any comments are welcome |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I figured it out, my syntax was wrong. I thought |
Beta Was this translation helpful? Give feedback.
I figured it out, my syntax was wrong. I thought
PYBIND11_OVERRIDE_PURE
andPYBIND11_OVERRIDE_PURE_NAME
had same syntax. It is working now