Effective use and design of COM smart Pointers-Clause 1: Smart pointers past and present

Source: Internet
Author: User


Article 1: smart pointer to past and present
When I first studied COM reference counting and smart pointers, I started with compiling the API documentation for _ com_ptr_t and CComPtr. At that time, my project manager asked me many times about the background of _ com_ptr_t and CComPtr. For example, the database to which it belongs. It is suggested that I integrate the content into the document.

This is a good suggestion. I did it. The results are quite satisfactory. The most obvious difference is that the problem that needs to be explained in a large space will be reduced by a lot due to the previous Background introduction. It is easy for readers to understand. Of course, if I continue to do this, it may bring more additional benefits: ganbaba's "Ji Chuan "API document is like a "" novel. It is indeed possible for programmers who lie in front of the computer every day to see sleepy documents to mention a lot of spirit.

So let us know

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.