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/C++ 智能指针中,unique_ptr小节有错别字(粗体处) #91

Open
literaryno4 opened this issue Apr 4, 2022 · 3 comments
Open

Comments

@literaryno4
Copy link

literaryno4 commented Apr 4, 2022

unique_ptr 是 C++11 才开始提供的类型,是一种在异常时可以帮助避免资源泄漏的智能指针。采用独占式拥有,意味着可以确保一个对象和其相应的资源同一时间只被一个 pointer 拥有。一旦拥有被销毁或编程 empty,或开始拥有另一个对象,先前拥有的那个对象就会被销毁,其任何相应资源亦会被释放。

@literaryno4 literaryno4 changed the title C/C++ 智能指针中,unique—— C/C++ 智能指针中,unique_ptr小节有错别字(粗体处) Apr 4, 2022
@w272628569
Copy link

w272628569 commented Oct 11, 2022 via email

@w540665710
Copy link

w540665710 commented Oct 11, 2022 via email

@DaweiWangBIT
Copy link

DaweiWangBIT commented Oct 11, 2022 via email

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

No branches or pull requests

4 participants