STL变化大了吗?

发布于 2024-08-02 07:07:04 字数 86 浏览 5 评论 0原文

我想熟悉标准模板库的使用。如果我看到 1995-97 年左右出版的一般参考书或初学者指南,我可以依赖其中的信息吗?在过去的十几年里,STL 发生了多大的变化?

I'm wanting to become conversant in the use of the Standard Template Library. If I come across a general reference or beginner's guide published around 1995-97, can I rely on the information in it? How much has STL changed in the last dozen years?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

苏佲洛 2024-08-09 07:07:04

是的!还有新的补充。 TR1 更新现已在大多数环境中实施。

您的旧书对于学习基础知识仍然有用。但您将需要找到 TR1 的参考来了解一些非常有用的新功能。在一些领域,新功能比旧功能更受青睐。 (我想到的是bind1st 和bind2nd 功能完全封装在更通用的绑定构造中。)

此外,还有boost 库。 (boost.org) Boost 是一个库的集合,有些非常有用,有些则晦涩难懂。 TR1中的一些功能来自boost,因此存在一些重叠。至少有一本关于 Boost 的好书。

Yes! There are new additions. The TR1 update is now implemented in most environments.

Your older book is still useful to learn the basics. But you will want to find a reference for TR1 to learn about some very useful new features. In a couple of areas, the new features are preferred over older ones. (What comes to mind is bind1st and bind2nd functionality is fully encapsulated in the more general bind construct.)

In addition, there are the boost libraries. (boost.org) Boost is a a collection of libraries, some are very useful, others are obscure. Some of the features in TR1 came from boost, so there is some overlap. There is at least one good book about Boost out there.

绻影浮沉 2024-08-09 07:07:04

如果有的话,也不是很多。当前标准于 1998 年发布。

cplusplus.com 有更新的参考,您可以自己比较一下。

我还建议您获取 Scott Meyers 的 Effective STL 的副本。

Not a whole lot, if at all. The current standard was published in 1998.

cplusplus.com has a more up-to-date reference, which you can compare for yourself.

I'd recommend also that you get a copy of Scott Meyers' Effective STL.

束缚m 2024-08-09 07:07:04

我喜欢 SGI 对 STL 的引用
http://www.sgi.com/tech/stl

其中包括一组资源进一步阅读
http://www.sgi.com/tech/stl/other_resources.html

我认为这个文档是由 STL 的 crater 完成的(可能是错误的)。

但STL自正式发布以来一直没有改变。
TR1 的新增内容目前尚未正式发布,但将成为新标准的一部分。虽然你可以通过提升来抓住它们。这是您应该查看的另一组库。

I like the SGI reference to the STL
http://www.sgi.com/tech/stl

Which includes a set of resource for further reading
http://www.sgi.com/tech/stl/other_resources.html

I think that this documentation was done by the crater of the STL (could bee wrong on that).

But the STL has not changed since it was made official.
The new additions for TR1 are currently not officially available but will be part of the new standard. Though you can grab them via boost. Which is another set of libraries you should look at.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文