-
Notifications
You must be signed in to change notification settings - Fork 7.9k
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Comments
嗨,亲!谢谢你的来信,记得常联系哦!
|
您好,您所发送的邮件我已收到,但并不能代表着邮件已被读取或被正确理解。
|
信已收到,谢谢~~~
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unique_ptr 是 C++11 才开始提供的类型,是一种在异常时可以帮助避免资源泄漏的智能指针。采用独占式拥有,意味着可以确保一个对象和其相应的资源同一时间只被一个 pointer 拥有。一旦拥有着被销毁或编程 empty,或开始拥有另一个对象,先前拥有的那个对象就会被销毁,其任何相应资源亦会被释放。
The text was updated successfully, but these errors were encountered: