“STL”和“STL”之间是否有明确的分离定义?和“C”+标准库”?
可能的重复:
STL 与“C++ 标准库”的较量是什么关于?
我非常习惯 STL(“标准模板库”)这个术语,并且我发现自己经常在真正指的是 C++ 标准时使用它图书馆。因此,由于如今 C++(-11) 标准库中的几乎所有内容都是模板,我想知道:在 C++ 标准库中是否有定义什么是 STL、什么不是?也许是容器、流、算法等等?
或者我应该停止使用术语“STL”,因为它是 SGI(正确?)多年前用于其库的历史性术语?这会很困难...
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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
STL已经发展成为C++标准库,它包含容器、迭代器和算法,但不包含流。最好不要使用术语“STL”,它是旧库的名称。
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.