Skip to content
New issue

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

Use shared_ptr available in C++11 #80

Open
baagaard-usgs opened this issue Apr 8, 2019 · 0 comments
Open

Use shared_ptr available in C++11 #80

baagaard-usgs opened this issue Apr 8, 2019 · 0 comments
Assignees
Labels
clean up Clean up

Comments

@baagaard-usgs
Copy link
Contributor

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.

@baagaard-usgs baagaard-usgs added the deficiency Undesirable behavior or annoying deficiency. label Apr 8, 2019
@baagaard-usgs baagaard-usgs self-assigned this Apr 8, 2019
@baagaard-usgs baagaard-usgs added this to the Release v3.1 milestone Jun 14, 2019
@baagaard-usgs baagaard-usgs added clean up Clean up and removed deficiency Undesirable behavior or annoying deficiency. feature request labels Apr 22, 2021
@baagaard-usgs baagaard-usgs removed this from the Release v3.2 milestone Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean up Clean up
Projects
None yet
Development

No branches or pull requests

1 participant