You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I can properly use a std::vector of custom classes with PYBIND11_MAKE_OPAQUE and pythonbind::bind_vector, but I fail to be able to use this if the std::vector is wrapped into a std::shared_ptr.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I can properly use a std::vector of custom classes with PYBIND11_MAKE_OPAQUE and pythonbind::bind_vector, but I fail to be able to use this if the std::vector is wrapped into a std::shared_ptr.
Is there any example on how to do this?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions