We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See pybind11 fork PR:
pybind11
reclaim_from_cpp
Related places where we got bit in Drake:
System.SetDefaultContext
Simulator.reset_context
Basically, I think this happens when you get a non-owning reference to something in C++, but then try to own it afterwards. e.g.
class Stuff { public: T* get_thing(); unique_ptr<T> release_thing(); };
obj = Stuff() thing = obj.get_thing() obj.release_thing()
The text was updated successfully, but these errors were encountered:
I believe I've gotten the fix working now (I had it way back in November, just wrote a bad test where I forgot to use rvp::reference_internal).
rvp::reference_internal
Sorry, something went wrong.
EricCousineau-TRI
Successfully merging a pull request may close this issue.
See
pybind11
fork PR:reclaim_from_cpp
with constructing type pybind11#33Related places where we got bit in Drake:
System.SetDefaultContext
andSimulator.reset_context
#12368Basically, I think this happens when you get a non-owning reference to something in C++, but then try to own it afterwards.
e.g.
The text was updated successfully, but these errors were encountered: