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

喜欢而已 提交于 2019-12-10 07:01:44

问题


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

I am very much used to the term STL ("Standard Template 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...


回答1:


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.



来源:https://stackoverflow.com/questions/7482567/is-there-a-clean-separating-definition-between-stl-and-c-standard-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!