[TriLUG] The C++ STL library

Tanner Lovelace lovelace at wayfarer.org
Thu Dec 4 16:13:19 EST 2003


Ralph Blach wrote:
> Is the C++ stl included in redhat 9.0.  If it is, how do i compile with it.
> If not where do I get the source?
> 
> Thanks
> 
> Chip
> 

The Standard Template Library is part of the C++ Standard Library,
so if you install the C++ development packages it's there.  Per the
standard, all compliant C++ compilers *must* support it and make
it available.  You can, however, find add on versions of the STL in
case the version your compiler provides isn't quite up to snuff
(*cough* VC++ *cough*).  One of the most common add on versions of
the stl is called STLPort (http://www.stlport.org/).

The STL is somewhat unique in that you don't compile it.  Because of how
templates work with most compilers, the STL is supplied entirely as
header files.  I don't know about red hat 9, but on my system the
STL is located in /usr/include/g++-v3/  (note that there may be a
g++-3 directory, but this is from an older version of gcc's STL).

Cheers,
Tanner
-- 
Tanner Lovelace | lovelace(at)wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
  This would be a very good time to hang out with the Open Source
  people, before they get formally reclassified as a national security
  threat. -- Bruce Sterling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 222 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20031204/428a2cc0/attachment.pgp>


More information about the TriLUG mailing list