-
Hi I have a C++ wrapper class which takes as an argument a smart pointer (shared_ptr). Do you have any cuggestions? |
Beta Was this translation helpful? Give feedback.
Answered by
saudet
Dec 29, 2022
Replies: 1 comment 2 replies
-
If you need to create an actual shared_ptr, you'll need to wrap an appropriate factory method like make_shared and call that. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
domcir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you need to create an actual shared_ptr, you'll need to wrap an appropriate factory method like make_shared and call that.