| 1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|---|
| 2 | <html>
|
|---|
| 3 | <head>
|
|---|
| 4 | </head>
|
|---|
| 5 |
|
|---|
| 6 | <body>
|
|---|
| 7 |
|
|---|
| 8 | <table WIDTH="100%" >
|
|---|
| 9 | <tr>
|
|---|
| 10 | <td>
|
|---|
| 11 | <a href="index.html">
|
|---|
| 12 | <img SRC="../../../../resources/html/IconsGIF/Contents.gif" ALT="Contents"></a>
|
|---|
| 13 | <a href="clhepLHCxx.html">
|
|---|
| 14 | <img SRC="../../../../resources/html/IconsGIF/Previous.gif" ALT="Previous"></a>
|
|---|
| 15 | <a href="makeFile.html">
|
|---|
| 16 | <img SRC="../../../../resources/html/IconsGIF/Next.gif" ALT="Next"></a>
|
|---|
| 17 | </td>
|
|---|
| 18 |
|
|---|
| 19 | <td ALIGN=RIGHT><b><font color="#238E23"><font size=-1>Geant4 User's Guide</font></font></b>
|
|---|
| 20 | <br><b><font color="#238E23"><font size=-1>For Application Developers</font></font></b>
|
|---|
| 21 | <br><b><font color="#238E23"><font size=-1>Appendix</font></font></b></td>
|
|---|
| 22 | </tr>
|
|---|
| 23 | </table>
|
|---|
| 24 |
|
|---|
| 25 | <br>
|
|---|
| 26 | <center>
|
|---|
| 27 | <p><A name="10.4"><b><font color="#238E23">
|
|---|
| 28 | <font size=+3>10.4 C++ Standard Template Library</font></font></b></A>
|
|---|
| 29 | <p>
|
|---|
| 30 | <hr ALIGN="Center" SIZE="7%">
|
|---|
| 31 | <p><!-- ============================================== Section --></center>
|
|---|
| 32 |
|
|---|
| 33 | <B>Overview</B>
|
|---|
| 34 | <P>
|
|---|
| 35 | The Standard Template Library (STL) is a general-purpose library of generic
|
|---|
| 36 | algorithms and data structures. It is part of the C++ Standard Library.
|
|---|
| 37 | Nowadays, most compiler vendors include a version on STL in their products,
|
|---|
| 38 | and there are commercial implementations available as well.
|
|---|
| 39 | <p>Good books on STL are:
|
|---|
| 40 | <p>Nicolai M. Josuttis: The C++ Standard Library. A Tutorial and Reference,
|
|---|
| 41 | Addison-Wesley, 1999, ISBN 0-201-37926-0.
|
|---|
| 42 | <p>David R. Musser, Atul Saini: STL Tutorial and Reference Guide / C++
|
|---|
| 43 | Programming with the Standard Template Library, Addison-Wesley, 1996,
|
|---|
| 44 | ISBN 0-201-63398-1.
|
|---|
| 45 | <p>Scott Meyers: Effective STL,
|
|---|
| 46 | Addison-Wesley, 2001, ISBN 0-201-74962-9.
|
|---|
| 47 | <p>Resources available online include A Modest STL tutorial and the reference
|
|---|
| 48 | of the SGI implementation:
|
|---|
| 49 | <ul>
|
|---|
| 50 | <li>
|
|---|
| 51 | <a href="http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html">Mumit's
|
|---|
| 52 | STL Newbie Guide</a> is a kind of a FAQ, containing answers highlighting
|
|---|
| 53 | practical details of STL programming.</li>
|
|---|
| 54 |
|
|---|
| 55 | <li>
|
|---|
| 56 | <a href="http://www.sgi.com/Technology/STL">SGI STL homepage</a>,
|
|---|
| 57 | this is the basis of the native egcs STL implementation.</li>
|
|---|
| 58 | </ul>
|
|---|
| 59 |
|
|---|
| 60 | <p><!-- ============================================== Section -->
|
|---|
| 61 | <hr>
|
|---|
| 62 | <B>STL in Geant4</B>
|
|---|
| 63 | <P>
|
|---|
| 64 | Since release 0.1, Geant4 supports STL, the Standard Template Library.
|
|---|
| 65 | From release 1.0 of Geant4, STL is required.
|
|---|
| 66 | <br>
|
|---|
| 67 | <i>Native</i> implementations of STL are foreseen on all supported platforms
|
|---|
| 68 | <p>
|
|---|
| 69 | <hr><i><a href="../../../../Authors/html/subjectsToAuthors.html">About
|
|---|
| 70 | the authors</a></i>
|
|---|
| 71 | </body>
|
|---|
| 72 | </html>
|
|---|