delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/15/06:17:12

From: eyal DOT ben-david AT aks DOT com
To: alaric AT oasis DOT novia DOT net
cc: djgpp AT delorie DOT com
Message-ID: <C2256498.00364968.00@aks.com>
Date: Thu, 15 May 1997 13:14:39 +0300
Subject: Re: STL?
Mime-Version: 1.0



STL comes with gcc. It 's code was changed a bit to be used by gcc.
It is now a part of the C++ standard library.

If you installed C++ support for djgpp then you have STL also.

Almost all library code is in header files since it uses templates. the
heaser are in
<DJDIR>/lang/cxx

some of the header are:
vector.h
list.h
deque.h
map.h
multimap.h
set.h
multiset.h
tree.h
algo.h
algobase.h
defalloc.h
bvector.h
function.h
  and some other.

GCC supply also a file  stl.h that  includes all the above.


Doc:
~~~
The official documentation is the Draft Working Paper, but it is not
recommended for beginners.
There is also the initial document of Stepanov (Author of STL) and Lee but
is also uses
more pure mathematical definitions for the algo's and classes.

There are some very good tutorials on the net:

    - Mumit's STL Newbie guide
      http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html

    - The Standard Template Library Tutorial

http://www.infosys.tuwien.ac.at/Research/Component/tutorial/prwmain.htm

   -  Silicon Graphics STL site (source + very good docs + refernce manual)
       http://www.sgi.com/Technology/STL/


Eyal.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019