| 1 | <!-- ******************************************************** -->
|
|---|
| 2 | <!-- -->
|
|---|
| 3 | <!-- [History] -->
|
|---|
| 4 | <!-- Converted to DocBook: Katsuya Amako, Aug-2006 -->
|
|---|
| 5 | <!-- -->
|
|---|
| 6 | <!-- ******************************************************** -->
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 | <!-- ******************* Section (Level#1) ****************** -->
|
|---|
| 10 | <sect1 id="sect.CppStdTL">
|
|---|
| 11 | <title>
|
|---|
| 12 | C++ Standard Template Library
|
|---|
| 13 | </title>
|
|---|
| 14 |
|
|---|
| 15 | <!-- ******* Bridgehead ******* -->
|
|---|
| 16 | <bridgehead renderas='sect4'>
|
|---|
| 17 | Overview
|
|---|
| 18 | </bridgehead>
|
|---|
| 19 |
|
|---|
| 20 | <para>
|
|---|
| 21 | The Standard Template Library (STL) is a general-purpose library
|
|---|
| 22 | of generic algorithms and data structures. It is part of the C++
|
|---|
| 23 | Standard Library. Nowadays, most compiler vendors include a version
|
|---|
| 24 | on STL in their products, and there are commercial implementations
|
|---|
| 25 | available as well.
|
|---|
| 26 | </para>
|
|---|
| 27 |
|
|---|
| 28 | <para>
|
|---|
| 29 | Good books on STL are:
|
|---|
| 30 |
|
|---|
| 31 | <itemizedlist spacing="compact">
|
|---|
| 32 | <listitem><para>
|
|---|
| 33 | Nicolai M. Josuttis: The C++ Standard Library. A Tutorial and
|
|---|
| 34 | Reference
|
|---|
| 35 | <citation>
|
|---|
| 36 | <xref linkend="biblio.josuttis1999" endterm="biblio.josuttis1999.abbrev" />
|
|---|
| 37 | </citation>
|
|---|
| 38 | </para></listitem>
|
|---|
| 39 | <listitem><para>
|
|---|
| 40 | David R. Musser, Atul Saini: STL Tutorial and Reference Guide /
|
|---|
| 41 | C++ Programming with the Standard Template Library
|
|---|
| 42 | <citation>
|
|---|
| 43 | <xref linkend="biblio.musser1996" endterm="biblio.musser1996.abbrev" />
|
|---|
| 44 | </citation>
|
|---|
| 45 | </para></listitem>
|
|---|
| 46 | <listitem><para>
|
|---|
| 47 | Scott Meyers: Effective STL
|
|---|
| 48 | <citation>
|
|---|
| 49 | <xref linkend="biblio.meyers2001" endterm="biblio.meyers2001.abbrev" />
|
|---|
| 50 | </citation>
|
|---|
| 51 | </para></listitem>
|
|---|
| 52 | </itemizedlist>
|
|---|
| 53 | </para>
|
|---|
| 54 |
|
|---|
| 55 | <para>
|
|---|
| 56 | Resources available online include the
|
|---|
| 57 | reference of the SGI implementation:
|
|---|
| 58 |
|
|---|
| 59 | <itemizedlist spacing="compact">
|
|---|
| 60 | <listitem><para>
|
|---|
| 61 | <ulink url="http://www.sgi.com/tech/stl/">
|
|---|
| 62 | SGI STL homepage
|
|---|
| 63 | </ulink>
|
|---|
| 64 | , this is the basis of the native egcs STL implementation.
|
|---|
| 65 | </para></listitem>
|
|---|
| 66 | </itemizedlist>
|
|---|
| 67 | </para>
|
|---|
| 68 |
|
|---|
| 69 | <!-- ******* Bridgehead ******* -->
|
|---|
| 70 | <bridgehead renderas='sect4'>
|
|---|
| 71 | STL in Geant4
|
|---|
| 72 | </bridgehead>
|
|---|
| 73 |
|
|---|
| 74 | <para>
|
|---|
| 75 | Since release 0.1, Geant4 supports STL, the Standard Template
|
|---|
| 76 | Library. From release 1.0 of Geant4, STL is required.
|
|---|
| 77 | </para>
|
|---|
| 78 |
|
|---|
| 79 | <para>
|
|---|
| 80 | <emphasis>Native</emphasis> implementations of STL are foreseen on
|
|---|
| 81 | all supported platforms.
|
|---|
| 82 | </para>
|
|---|
| 83 |
|
|---|
| 84 | </sect1>
|
|---|