Objective C ++ Study Notes (Part Three: Item 13-17), effective13-17

Source: Internet
Author: User

Objective C ++ Study Notes (Part Three: Item 13-17), effective13-17
Zookeeper

Recently, I finally carefully read javastvie C ++, and I was amazed at the power and charm of C ++. I will keep my recent reading experiences and Reading Notes here recently. It is essential to find and use them. If you sum up any mistakes, please criticize and correct them:

Now, only the framework is listed, and it will be completed as soon as possible:

Part 1: Resource Management)
I personally think this is a key part of C ++. Good use can help projects save resources and rationally use memory resources to prevent memory leaks. The word "resource" may have just been in touch and is abstract. But it is very specific for you to combine it with the actual situation!


Clause 13: object-oriented resource management
Clause 14: lightweight coping in resource management
Clause 15: Provide access to original resources in resource management
Clause 16: The new and delete pairs must be in the same format.
Clause 17: place a newed object in an independent statement


Note: As there are many links between the terms, some of them are not suitable to be pulled out separately. This will be recorded in conjunction with other terms. If you have any questions, please contact us;


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.