开发者

Is there a clean separating definition between "STL" and "C++ Standard Library"? [duplicate]

开发者 https://www.devze.com 2023-04-06 15:28 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: What's this STL vs. “C++ Standard Library” fight all about?
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

What's this STL vs. “C++ Standard Library” fight all about?

I am very much used to the term STL ("Standard 开发者_如何学CTemplate Library") and I catch myself often using it when I really mean the C++ Standard Library. So, since almost everything in the C++(-11) Standard Library is a template nowadays, I wonder: Is there a definition what is STL and what is not, in the C++Standard-Lib? Maybe containers, streams, algorithms, etc?

Or should I just stop using the term "STL", because it's the historic one that SGI (correct?) used for their lib years back? It will be difficult...


STL has evolved into C++ Standard Library, it contained containers, iterators and algorithms but not streams. It is better not to use term "STL" it is the name of the old library.

0

精彩评论

暂无评论...
验证码 换一张
取 消