原始STL和最终在C ++标准库中的那些部分之间的具体差异是什么? [英] What are the specific differences between the original STL and those parts of it that ended up in the C++ Standard Library?

查看:162
本文介绍了原始STL和最终在C ++标准库中的那些部分之间的具体差异是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 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 and everything pertaining to hash functions
  • rope
  • iota
  • lexicographical_compare_3way
  • random_sample and random_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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆