The standard template library for C++ (the STL) is an important addition to C++ and is rapidly becoming required knowledge for all C++ programmers. It provides a collection of generic data structures and algorithms written in C++ and has been adopted by the ANSI committee for the standardization of C++. This book provides a comprehensive introduction and guide to the STL pitched at the level of readers already familiar with C++. It presents a thorough overview of the capabilities of the STL, detailed discussions of the use of containers, descriptions of the algorithms and how they may be used, and how the STL may be extended. An appendix provides an alphabetical refernce to the entire STL. As a result, programmers of C++ and students coming to the STL for the first time will find this an extremely useful hands-on text.
Author(s): Robert Robson (auth.)
Publisher: Springer US
Year: 1998
Language: English
Pages: XI, 421 p. 34 illus.
Tags: Software Engineering/Programming and Operating Systems
Front Matter....Pages i-xi
Introduction....Pages 1-23
Iterators....Pages 24-46
The STL Algorithms....Pages 47-54
Sequence Algorithms....Pages 55-94
Sorting and Related Algorithms....Pages 95-136
Generalized Numeric Algorithms....Pages 137-144
Sequence Containers....Pages 145-198
Associative Containers....Pages 199-234
Adaptors....Pages 235-256
Allocators....Pages 257-262
Putting the STL to Work....Pages 263-307
The Story Continues....Pages 308-312
Back Matter....Pages 313-421