Has the STL changed?

I want to get to know the use of the standard template library. If I came across a general reference or reference manual published in 1995-1997, can I rely on the information in it? How much has the STL changed in the last ten years?

+4
source share
3 answers

Yes! New additions have appeared. The TR1 update is now implemented in most environments.

Your older book is still useful for learning the basics. But you'll want to find a link for TR1 to learn about some very useful new features. In several areas, new features are preferable to older ones. (What comes to mind, the functionality of bind1st and bind2nd is completely encapsulated in a more general binding construct.)

In addition, acceleration libraries exist. (boost.org) Boost is a collection of libraries, some of which are very useful, others are obscure. Some of the functions in TR1 were triggered by a boost, so some overlaps. There is at least one good book on Boost.

+6
source

Not much, if at all. The current standard was published in 1998.

cplusplus.com contains a more relevant link that you can compare for yourself.

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

+4
source

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

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

I think this documentation was done by the STL crater (maybe it was wrong).

But the STL has not changed since it became official. New additions to TR1 are not currently officially available, but will be part of the new standard. Although you can capture them with boost. What other set of libraries you should look at.

+3
source

All Articles