Creating binding code for a method that takes a vector of unique ptrs #4859
Unanswered
JackAshwell11
asked this question in
Q&A
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.
-
Hi, I have a class
Registry
that has the following method:And the
ComponentBase
struct:However, I'm having a bit of trouble creating a Python binding for this method due to the
std::vector<std::unique_ptr<ComponentBase>> &&components
parameter. Any idea how I can do this?Beta Was this translation helpful? Give feedback.
All reactions