The C++ Standard Library: A Tutorial and Reference

Kobo eBook available

read instantly on your Kobo or tablet.

buy the ebook now

The C++ Standard Library: A Tutorial and Reference

by Nicolai M. Josuttis

Pearson Education | March 30, 2012 | Hardcover

The C++ Standard Library: A Tutorial and Reference is rated 5 out of 5 by 2.
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 

Format: Hardcover

Dimensions: 1128 pages, 9.38 × 7.75 × 1.96 in

Published: March 30, 2012

Publisher: Pearson Education

Language: English

The following ISBNs are associated with this title:

ISBN - 10: 0321623215

ISBN - 13: 9780321623218

Found in: Computers

save 5%

  • Ships within 1-2 weeks

$78.99  ea

$78.99 List Price

eGift this item

Give this item in the form of an eGift Card.

+ what is this?

This item is eligible for FREE SHIPPING on orders over $25.
See details

Easy, FREE returns. See details

Item can only be shipped in Canada

Downloads instantly to your kobo or other ereading device. See details

All available formats:

Reviews

Rated 5 out of 5 by from A great intro into the wonderful world of C++'s standard library I found this book to be a great continuation of learning especially if you have Accelerated C++ read and understood.. The book starts off explaining that it won't teach you C++ but will explain one the greatest features of C++...Its standard libraries and it does. So if your in the market, looking for a book to take you past the intro level of C++ then please check out this wonderful text.
Date published: 2010-10-22
Rated 5 out of 5 by from Excellent tutorial and refence on C++ STL If you are looking for a good book on advanced topics in C++, this book is highly recommended. Prior to the purchase of this book, I had consulted 3 other STL books for reference. All 3 of the other books had partial information and they did not explain the tmeplate libraries in depth or had any examples to follow on. The example code fragments from this book are well documented and point out any anomolies which will result in potential run time errors. In short, if I were planning to buy only 1 STL reference, it would be "The C++ Standard Library" by Nicolai Josuttis.
Date published: 2000-07-27

– More About This Product –

The C   Standard Library: A Tutorial and Reference

The C++ Standard Library: A Tutorial and Reference

by Nicolai M. Josuttis

Format: Hardcover

Dimensions: 1128 pages, 9.38 × 7.75 × 1.96 in

Published: March 30, 2012

Publisher: Pearson Education

Language: English

The following ISBNs are associated with this title:

ISBN - 10: 0321623215

ISBN - 13: 9780321623218

Table of Contents

Preface to the Second Edition xxiiiAcknowledgments for the Second Edition xxivPreface to the First Edition xxvAcknowledgments for the First Edition xxvi Chapter 1: About This Book 11.1 Why This Book 11.2 Before Reading This Book 21.3 Style and Structure of the Book 21.4 How to Read This Book 41.5 State of the Art 51.6 Example Code and Additional Information 51.7 Feedback 5 Chapter 2: Introduction to C++ and the Standard Library 72.1 History of the C++ Standards 72.2 Complexity and Big-O Notation 10 Chapter 3: New Language Features 133.1 New C++11 Language Features 133.2 Old “New Language Features 33 Chapter 4: General Concepts 394.1 Namespace std 394.2 Header Files 404.3 Error and Exception Handling 414.4 Callable Objects 544.5 Concurrency and Multithreading 554.6 Allocators 57 Chapter 5: Utilities 595.1 Pairs and Tuples 605.2 Smart Pointers 765.3 Numeric Limits 1155.4 Type Traits and Type Utilities 1225.5 Auxiliary Functions 1345.6 Compile-Time Fractional Arithmetic with Class ratio1405.7 Clocks and Timers 1435.8 Header Files,, and161 Chapter 6: The Standard Template Library 1656.1 STL Components 1656.2 Containers 1676.3 Iterators 1886.4 Algorithms 1996.5 Iterator Adapters 2106.6 User-Defined Generic Functions 2166.7 Manipulating Algorithms 2176.8 Functions as Algorithm Arguments 2246.9 Using Lambdas 2296.10 Function Objects 2336.11 Container Elements 2446.12 Errors and Exceptions inside the STL 2456.13 Extending the STL 250 Chapter 7: STL Containers 2537.1 Common Container
read more read less

From the Publisher

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 

About the Author

Nicolai M. Josuttisis an independent technical consultant who designs mid-sized and large software systems for the telecommunication, traffic, finance, and manufacturing industries. A former member of the C++ Standard Committee library working group, he is well known in the programming community for his authoritative books. In addition toThe C++ Standard Library,a worldwide best-seller since its first publication in 1999, his books includeC++ Templates: The Complete Guide(with David Vandevoorde, Addison-Wesley, 2003) andSOA in Practice: The Art of Distributed System Design(O'Reilly Media, 2007).