Replies: 1 comment 5 replies
-
I don't see directly what the problem is. What happens when you bind a setter for |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to use nanobind to expose a class that holds shared pointers to a base class. I would like to expose the shared pointer as a property and be able to assign any derived object from within Python. Here's an example, missing the setter:
On the Python side, I would like to do something like
Is something like this possible?
Beta Was this translation helpful? Give feedback.
All reactions