STL experience (1) -- why use STL

Source: Internet
Author: User

In the last project, I thought of using the MFC container class, so I kept the promise to come to a cobarray class. Because my project is used on the server side and has been running for many years, so it didn't take long for me to run, so I found a memory leakage problem. Shit, I almost checked my own section.CodeLater, I found that the cobarray class was used, but it was not released. It was very difficult to see msdn. It was not very good at solving problems such as memory release. So I am looking for another way to replace the cobarray class that I think is not very useful. My choice is STL.

Since it is determined that STL is used, but there are many STL, such as the built-in VC, stlport, etc. I checked the one that comes with VC, hisSource codeThe quality is indeed not flattering, so later I chose stlport and set it online.

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.