Contents Previous Next Geant4 User's Guide
For Application Developers
Appendix

 

10.4 C++ Standard Template Library


Overview

The Standard Template Library (STL) is a general-purpose library of generic algorithms and data structures. It is part of the C++ Standard Library. Nowadays, most compiler vendors include a version on STL in their products, and there are commercial implementations available as well.

Good books on STL are:

Nicolai M. Josuttis: The C++ Standard Library. A Tutorial and Reference, Addison-Wesley, 1999, ISBN 0-201-37926-0.

David R. Musser, Atul Saini: STL Tutorial and Reference Guide / C++ Programming with the Standard Template Library, Addison-Wesley, 1996, ISBN 0-201-63398-1.

Scott Meyers: Effective STL, Addison-Wesley, 2001, ISBN 0-201-74962-9.

Resources available online include A Modest STL tutorial and the reference of the SGI implementation:


STL in Geant4

Since release 0.1, Geant4 supports STL, the Standard Template Library. From release 1.0 of Geant4, STL is required.
Native implementations of STL are foreseen on all supported platforms


About the authors