Topic: STL = C++ standard library?


Author: anh@kuhub.cc.ukans.edu
Date: 1995/04/01
Raw View
Hello,

What is this STL? Is it the standard library for C++? I am considering to
use C++ for my next project but I feel it is such a pain to implement all
the basic ADTs such as hash tables and lists. I would like to know if any
standard C++ library for container classes exists. The reason is I like
my code to be as portable as possible.

Thank-you for all your help.
Anh





Author: mcorcora@ix.netcom.com (Marian Corcoran)
Date: 1995/04/02
Raw View
In <1995Apr1.104539.89193@kuhub.cc.ukans.edu> anh@kuhub.cc.ukans.edu
writes:

>
>
>Hello,
>
>What is this STL? Is it the standard library for C++? I am considering
to use C++ for my next project but I feel it is such a pain to implement
all the basic ADTs such as hash tables and lists. I would like to know
if any standard C++ library for container classes exists. The reason is
I like my code to be as portable as possible.
>
>Thank-you for all your help.
>Anh
>
The standard library for C++ is one thing (analogous to the standard C
library.)  The STL or standard template library is a data structures or
container class library, or perhaps, better, a framework for such a
library with certain parts filled in, the rest being left to the C++
programmer. The STL has lists but does not have a hash table as part of
the standard.  A hash table is available on the same ftp site from HP
that the STL is available, but it isn't part of the standard, so you
would have to include it in your software.  See about 3 articles down
from your original posting on comp.std.c++, where I list sources for
getting and references for learning about STL.

Marian