原始STL和最终在C ++标准库中的那些部分之间的具体差异是什么? [英] What are the specific differences between the original STL and those parts of it that ended up in the C++ Standard Library?
问题描述
我想知道 SGI 发布的STL与ISO C ++之间的具体差异是什么标准库。由此问题提供,而不是在所有回答此问题。
I'd like to know what the specific differences are between the STL as released by SGI and the ISO C++ standard library. Prompted by this question and not at all answered by this question.
一些区别很明显,例如 slist
和 / code>类,从来没有使它成为标准。我还在寻找更微妙的差异,例如方法的返回值/参数差异,或不同的复杂度要求,或不同的迭代器无效条件。
Some differences are obvious, such as the slist
and hash_set
classes that never made it into the standard. I'm also looking for more subtle differences, such as return value/parameter differences on methods, or different complexity requirements, or different iterator invalidation conditions.
推荐答案
SGI STL在C ++标准中缺少的东西缺少包括
SGI STL stuff "missing" in the C++ standard includes
-
slist
-
bit_vector
-
hash_set
,hash_map
,hash_multiset
,hash_multimap
以及与哈希函数相关的所有内容 -
rope
-
iota
- < a href =http://www.sgi.com/tech/stl/lexicographical_compare_3way.html>
lexicographical_compare_3way
-
random_sample
和random_sample_n
- MonoidOperation 和 Trivial迭代器概念
- 一系列向后兼容的标头
algo.h
slist
bit_vector
hash_set
,hash_map
,hash_multiset
,hash_multimap
and everything pertaining to hash functionsrope
iota
lexicographical_compare_3way
random_sample
andrandom_sample_n
- the MonoidOperation and Trivial Iterator concepts
- a host of backward compat headers such as
algo.h
...我敢打赌,少了更多。
... and I bet you can find a few more.
这篇关于原始STL和最终在C ++标准库中的那些部分之间的具体差异是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!