Book description
The Best-Selling C++ Resource
Now Updated for C++11
The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions.
The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms.
The book covers all the new C++11 library components, including
Concurrency
Fractional arithmetic
Clocks and timers
Tuples
New STL containers
New STL algorithms
New smart pointers
New locale facets
Random numbers and distributions
Type traits and utilities
Regular expressions
The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for loops, move semantics, and variadic templates.
An accompanying Web site, including source code, can be found at www.cppstdlib.com.
Table of contents
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface to the Second Edition
- Acknowledgments for the Second Edition
- Preface to the First Edition
- Acknowledgments for the First Edition
- Chapter 1. About This Book
- Chapter 2. Introduction to C++ and the Standard Library
- Chapter 3. New Language Features
- Chapter 4. General Concepts
- Chapter 5. Utilities
- Chapter 6. The Standard Template Library
- Chapter 7. STL Containers
- Chapter 8. STL Container Members in Detail
- Chapter 9. STL Iterators
- Chapter 10. STL Function Objects and Using Lambdas
- Chapter 11. STL Algorithms
- Chapter 12. Special Containers
- Chapter 13. Strings
- Chapter 14. Regular Expressions
- Chapter 15. Input/Output Using Stream Classes
- Chapter 16. Internationalization
- Chapter 17. Numerics
- Chapter 18. Concurrency
- Chapter 19. Allocators
- Bibliography
- Index
- Supplementary Chapter
Product information
- Title: C++ Standard Library, The: A Tutorial and Reference, 2nd Edition
- Author(s):
- Release date: March 2012
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780132978286
You might also like
video
C++ Programming By Example
C++ is a flexible and generic language that offers a wide range of benefits with key …
book
Advanced C++ Programming Cookbook
A recipe-based guide to refining your C++ programming skills with the help of coding best practices, …
video
Mastering C++ Standard Library Features
C++ has come a long way and has now been adopted in several contexts with the …
book
Practical C++ Programming, 2nd Edition
C++ is a powerful, highly flexible, and adaptable programming language that allows software engineers to organize …