Topic: Differences between STL and C++ Standard Library?
Author: "P.J. Plauger" <pjp@dinkumware.com>
Date: 1998/07/01 Raw View
Vahur Krouverk <vahur@fv.aetec.ee> wrote in article <3599362B.88638977@fv.aetec.ee.spam.no>...
> Could someone point out main differences between STL (HP or SGI's one)
> and C++ Standard Library? Or give some http address, where these
> differences are described?
The Standard C++ library is a (rather large) superset of STL. H-P developed
STL and proposed a subset of it, in mid 1994, as an addition to the draft
Standard C++ library. It was accepted. The draft evolved in its own way from
that point until it froze in November 1997. Meanwhile, H-P issued at least
one additional upgrade, and Dave Musser added hash tables to the mix.
SGI has also performed a couple of rounds of enhancement to the H-P
release. It has also been enhanced by MCST in Moscow. And, of course,
several commercial outfits have issued their own enhanced versions of
this code.
The STL headers were restructured when STL was incorporated into the
draft C++ Standard. For example, if you see the header <algo.h>, you
know you're dealing with the H-P heritage; if you see <algorithm>, you
know it's the Standard C++ library. Recent versions of (just) STL have
improved standards conformance, if only by the addition of headers with
standard names that include the real working headers. Many also have
additions not found in the C++ Standard.
In summary, you will find lots of variations out there, thanks to four years
of active evolution in several directions. The good news is that the core
functionality is clean and elegant, and remarkably uniform once you get
past the annoying structural differences.
Hope this helps.
P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: Vahur Krouverk <vahur@fv.aetec.ee>
Date: 1998/07/01 Raw View
Hello!
Could someone point out main differences between STL (HP or SGI's one)
and C++ Standard Library? Or give some http address, where these
differences are described?
TIA.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]