[v3.0.3 smart_holder] Using smart_holder in virtual inheritance relationship error #5787
MannixYang
started this conversation in
General
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The following code about virtual inheritance relationship , i use smart_holder instead of std::shared_ptr.
In python code:
An error occurred:
But it is ok to use std::shared_ptr as py::class_ holder. Are there problems with my usage of the smart_holder.
Can anyone help me with this? It's urgent. Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions