tags:

views:

101

answers:

1

Hello,

I keep seeing reference to both the C++ standard Library and the C++ Standard Template Library (STL). What is the difference between them? Wiki mentions that they share some headers but that's about it.

Thanks

+7  A: 

The Standard Template Library (STL) is a library of containers, iterators, algorithms, and function objects, that was created by Alexander Stepanov; the SGI website has the canonical implementation and documentation.

The standard library is the library that is part of C++; it includes most of the Standard Template Library (STL).

In common usage, "STL" is also used to refer to the parts of the C++ standard library that come from or are derived from the actual SGI STL. For example, people often use "STL" to refer to std::vector and the rest of the containers in the C++ standard library, since they originated in the SGI STL.

James McNellis
I always believed that STL was created by Alexander Stepanov while working at HP ...
RA
Yeah, it was developed by Stepanov, and Wiki agrees on the HP thing. I don't suppose anyone knows how it ended up with SGI then?
jalf
@jalf: [Stepanov's website](http://www.stepanovpapers.com/) indicates the SGI implementation was completed by "Matt Austern with Hans Boehm (managed by Alexander Stepanov)." Beyond that, I couldn't find any other information.
James McNellis