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
For better memory management, we should use shared_ptr, which is available in C++11.
The tricky part is to create the handle to the C++ object in Python using a shared pointer. This would allow us to delete the pointer within C++ or Python.
We also share pointers within C++ and this would allow cleaner management of memory.
The text was updated successfully, but these errors were encountered:
For better memory management, we should use shared_ptr, which is available in C++11.
The tricky part is to create the handle to the C++ object in Python using a shared pointer. This would allow us to delete the pointer within C++ or Python.
We also share pointers within C++ and this would allow cleaner management of memory.
The text was updated successfully, but these errors were encountered: