Is it possible to return a shared_ptr? #4813
cliffburdick
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
-
I found this issue: #1215 that's been open for a while, and the premise is that if you return a shared ptr with the default
m.def
parameters you get a double free. I'm seeing this in my code, but I wanted to confirm this is still the case. Is it better to use regular pointers?Beta Was this translation helpful? Give feedback.
All reactions