The C++ Standard Library: A Tutorial and Reference and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

Sign in to turn on 1-Click ordering.
Buy Used
Used - Like New See details
Price: £33.78

Trade in Yours
For a £14.25 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Start reading The C++ Standard Library on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

The C++ Standard Library: A Tutorial and Reference [Hardcover]

Nicolai M. Josuttis
4.4 out of 5 stars  See all reviews (10 customer reviews)
RRP: £47.99
Price: £38.39 & FREE Delivery in the UK. Details
You Save: £9.60 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 25 Sep.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £25.29  
Hardcover £38.39  
Trade In this Item for up to £14.25
Trade in The C++ Standard Library: A Tutorial and Reference for an Amazon Gift Card of up to £14.25, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

30 Mar 2012 0321623215 978-0321623218 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


Frequently Bought Together

The C++ Standard Library: A Tutorial and Reference + The C++ Programming Language + C++ Concurrency in Action: Practical Multithreading
Price For All Three: £112.77

Buy the selected items together

Product details

  • Hardcover: 1128 pages
  • Publisher: Addison Wesley; 2 edition (30 Mar 2012)
  • Language: English
  • ISBN-10: 0321623215
  • ISBN-13: 978-0321623218
  • Product Dimensions: 23.9 x 18.9 x 4 cm
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (10 customer reviews)
  • Amazon Bestsellers Rank: 138,467 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Nicolai M. Josuttis is 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 to The C++ Standard Library, a worldwide best-seller since its first publication in 1999, his books include C++ Templates: The Complete Guide (with David Vandevoorde, Addison-Wesley, 2003) and SOA in Practice: The Art of Distributed System Design (O’Reilly Media, 2007).


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.4 out of 5 stars
4.4 out of 5 stars
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
5.0 out of 5 stars The best reference to the STL out there 8 Feb 2013
By Vertigo
Format:Hardcover|Verified Purchase
I'm convinced this is the best reference to the STL available. I had the first edition which is now falling apart as I haven't found any other documentation on the STL online that comes close to it for both reference and tutorial. I hung onto my tatty old first edition until he came out with a new C++11 edition and once again I love this book! The most stiking thing to me is how he has successfully put together a book that combines reference and tutorial. Most books tend to do one or the other. This does both and does it well!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars Very instructive book. 26 Jun 2013
Format:Hardcover|Verified Purchase
This is a very good book for those who want to learn to use the "nuts and bolts" features of C++ (especially the new features of C++11), but who don't need all the hoo-haa about object oriented programming. The code snippets clearly show how to use features such as vectors, associative arrays, strings, streams, range-based FOR loops, and just about everything else you might need. I can see that I'm going to be dipping into this book regularly for a long time to come as my knowledge and thirst for C++ grows.
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
5.0 out of 5 stars The best available guide 11 Jun 2013
Format:Hardcover|Verified Purchase
This is by far the best guide to the standard library, it goes into far more depth than other books I've read. You can't go wrong with this book, although it is a bit pricey!
Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
Format:Kindle Edition|Verified Purchase
I liked the first edition of this book and this edition is written and presented in the same style. Not as many examples of new features as I would have liked more reference than tutorial. I thought the section on concurrency was a bit weak, still better than the boost::threads documentation though, otherwise I would have given it it 5 stars.!
Comment | 
Was this review helpful to you?
4.0 out of 5 stars Best C++ 11 reference I've found 31 May 2014
Format:Hardcover|Verified Purchase
Whilst this will not teach you the details of C++ programming language - this is the book you'll be using regularly for reference.

You'll want another book to teach you about the semantics of the language - but that is likely to be stuff you'll learn and remember (certainly if you want a job using C++). What you won't remember is the hundreds of library classes, and their functions. This book covers them well.

The C++ language is evolving, and whilst it doesn't go into detail with the basics it does cover the changes that are happening to the language with C++ 11. Some of these being quite significant (Smart Pointers, limited Garbage Collection, Lambdas, Range based for loops...).

Sadly most compilers don't follow the complete C++ 11 standard yet. Takes a long time for compilers to implement the standards. So google around to see what features your chosen compiler supports.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category