STL source code analysis

xiaoxiao2021-03-05  47

Now is April 22, 2005, 17:54, complete analysis STL source code ended, I can finally be relieved, I feel very much!

About a few months ago, I saw the << STL source analysis >>, this writing is really good. Because I used STL in the work of usual development, now I have a general Application for Linux development. Interested in, of course, I have to write programs under Linux.

Especially for STL's skilled use, I have greatly improved the development efficiency in the usual development work, such as some of my COM components, as well as curve controls, because I use ATL, so I don't have to use MFC So the advantage of STL can play very well, and later, I also use STL in MFC because it makes the development work more quickly, saving a lot of time for me, but in use In the process, I have encountered a lot of problems. Since I didn't have GP technology at the beginning, I was wrong, I got a set, and later I saw a lot of books about STL, this kind of problem is very small. But I am not limited to this, not only use it, but more importantly, how it uses generic programming technology, learning its source code allows us to use generic technology in our usual development work.

Remembering a teacher, he is a Doctor studying in password studies. He is engaged in VC development has been many years. When I chatted with him, he said that he felt that generic technology was indeed a very great. Technology, such as Boost, STL, is a very industrial value of industrial libraries, but many people don't use it well, or there are many Data structures, which are taught, there are many paper talks on paper, if I am able to learn the source code in STL in the university, I think more is much better!

Later, under the influence of this teacher, I also had a strong interest in STL, which finally studied all STL source code, and I didn't understand what I didn't understand before, because after all, I was a line of learning. So now I have a deep memory of the source program, and I also made me deeply feel a few years. I think about it for a few years. However, I feel too bad. Although usually There are not many people around the horizontal, but I know how much level, so I have to work hard and try again!

In the STL's Source Code, you need a good Data Structure knowledge, and some are not found in the general university textbook, such as letting me study the Red-Black Tree!

Take a break this evening, I have completely analyze the STL source code. I have made a very thick note, I feel very fulfilled, hehe!

转载请注明原文地址:https://www.9cbs.com/read-32915.html

New Post(0)