The C++ Standard Library
The C++ Standard Library
$16.00
Minimum price
$20.00
Suggested price
The C++ Standard Library

This book is 100% complete

Completed on 2019-11-09

About the Book

The C++ Standard Library is a quick reference to the standard library of the current C++17 standard.

The Goal

The goal of this quick reference is to provide a concise reference of the C++ standard library. This book assumes that you are familiar with C++. If so you will get the most benefit out of this book. If C++ is totally new to you, you should start with a textbook about core C++. Once you have mastered a textbook about the core language, you can make your next big step by reading this book.

This book gives you, in addition, more than 100 running code examples to the code snippets, I presented in the book. Therefore you can combine the theory with the practices and get the most of it.

A Lot of Thanks

In particular, I thank the English proofreaders of my book: Mahesh Attarde, Rick Audet, Pete Barrow, Michael Ben-David, Dave Burns, Marius Grimm, Alvaro Fernandez, George Haake, Clare Macrae, Arne Mertz, Ian Reeve, Jason Turner, Bart Vandewoestyne, Ivan Vergiliev, and Andrzej Warzynski. They translated my Swabian English into English. Without their precious work, the book wouldn't have been possible.

About the Author

Rainer
Rainer

Rainer Grimm

Bundles that include this book

Concurrency with Modern C++
The C++ Standard Library
$61.00
Suggested Price
$46.00
Bundle Price

Reader Testimonials

Rick Audet
Rick Audet

Senior Engineer, Dolby Laboratories

Arguably the quickest and easiest way to get up to speed on the most important parts of the C++ standard library. Recommended for any modern C++ programmer.

Table of Contents

  • Reader Testimonials
    • English Edition
    • German Edition
  • Introduction
    • Index
    • Conventions
    • Source Examples
    • Source Code
    • Value versus Object
    • Acknowledgements
    • Further Information
    • C++ versus C++11
  • 1. The Standard Library
    • The History
    • Overview
    • Application of Libraries
  • 2. Utilities
    • Useful Functions
    • Adaptors for Functions
    • Pairs
    • Tuples
    • Reference Wrappers
    • Smart Pointers
    • Type Traits
    • Time Library
    • std::any, std::optional, and std::variant
  • 3. Interface of All Containers
    • Create and delete
    • Size
    • Access
    • Assign and Swap
    • Compare
  • 4. Sequential Containers
    • Arrays
    • Vectors
    • Deques
    • Lists
    • Forward Lists
  • 5. Associative Container
    • Overview
    • Ordered Associative Container
    • Unordered Associative Container
  • 6. Adaptors for Containers
    • Stack
    • Queue
    • Priority Queue
  • 7. Iterators
    • Categories
    • Iterator Creation
    • Useful Functions
    • Adaptors
  • 8. Callable Units
    • Functions
    • Function Objects
    • Lambda Functions
  • 9. Algorithms
    • Conventions
    • Iterators are the glue
    • Sequential, parallel, or parallel execution with vectorisation
    • for_each
    • Non-Modifying Algorithms
    • Modifying Algorithms
    • Partition
    • Sort
    • Binary Search
    • Merge Operations
    • Heaps
    • Min and Max
    • Permutations
    • Numeric
  • 10. Numeric
    • Random Numbers
    • Numeric Functions Inherited from C
  • 11. Strings
    • Create and Delete
    • Conversion Between C++ and C Strings
    • Size versus Capacity
    • Comparison
    • String Concatenation
    • Element Access
    • Input and Output
    • Search
    • Modifying Operations
    • Numeric Conversions
  • 12. String Views
    • Create and initialise
    • Non-modifying operations
    • Modifying operations
  • 13. Regular Expressions
    • Character Types
    • Regular Expression Objects
    • The Search Result match_results
    • Match
    • Search
    • Replace
    • Format
    • Repeated Search
  • 14. Input and Output Streams
    • Hierarchy
    • Input and Output Functions
    • Streams
    • User-defined Data Types
  • 15. Filesystem library
    • Classes
    • Non-member functions
    • File types
  • 16. Multithreading
    • Memory Model
    • Atomic Data Types
    • Threads
    • Shared Variables
    • Thread Local Data
    • Condition Variables
    • Tasks
  • Index

Authors have earned$8,253,833writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub