Sharing ownership between Python and C++ #378
Replies: 1 comment
-
As the message says, it's not supported. You can only use the builtin |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to share ownership of, e.g., and integer between Python and C++, looking something like this:
When I compile, I run into an error:
I am relatively new to nanobind and I haven't found any answers about how to do this in the documentation; any clarification is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions