Mail Archives: djgpp/1997/05/15/06:17:12
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 -