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

五星 C++ 智能指针的分类、实现原理、易出现的问题 | Nature 的博客 #15

Open
NatureLan-sudo opened this issue Oct 11, 2022 · 0 comments

Comments

@NatureLan-sudo
Copy link
Owner

https://naturelan-sudo.github.io/2022/09/13/%E4%BA%94%E6%98%9F%20%E6%99%BA%E8%83%BD%E6%8C%87%E9%92%88%E7%9A%84%E5%88%86%E7%B1%BB%E3%80%81%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86%E3%80%81%E6%98%93%E5%87%BA%E7%8E%B0%E7%9A%84%E9%97%AE%E9%A2%98%20%20%20-%20%20%20%202022-09-05/#more

智能指针是高频考察内容;本文讲述了智能指针的分类,实现原理以及容易出现的问题及其解决方式。 智能指针是为了解决动态内存分配时带来的内存泄漏以及多次释放同一块内存空间而提出的。C++11 中封装在了 头文件中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant