Reader Testimonials
- English Edition
- German Edition
Introduction
- Purpose of this Book
- Index
- Conventions
- Source Examples
- Source Code
- Value versus Object
- Acknowledgments
- Further Information
- Cippi
- About Me
1.The Standard Library
- The History
- Overview
- Use of Libraries
2.Utilities
- Useful Functions
- Adaptors for Functions
- Pairs
- Tuples
- Reference Wrappers
- Smart Pointers
- Type Traits
- Time Library
std::any,std::optional, andstd::variantstd::expected
3.Interface of All Containers
- Create and delete
- Size
- Access
- Assign and Swap
- Compare
- Erasure
4.Sequence Containers
- Arrays
- Vectors
- Deques
- Lists
- Forward Lists
5.Associative Containers
- Overview
- Ordered Associative Containers
- Unordered Associative Containers
6.Container Adaptors
- Linear Containers
- Associative Containers
7.Views
- Contiguous Access
- Multidimensional Access
8.Iterators
- Categories
- Iterator Creation
- Useful Functions
- Adaptors
9.Callable Units
- Functions
- Function Objects
- Lambda Functions
10.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
- Unitialized Memory
11.Ranges
- Range
- View
- Range Adaptors
- Direct on the Containers
- Function Composition
- Lazy Evaluation
stdAlgorithms versusstd::rangesAlgorithms
12.Numeric
- Random Numbers
- Numeric Functions Inherited from C
- Mathematical Constants
13.Strings
- Create and Delete
- Conversion Between C++ and C Strings
- Size versus Capacity
- Comparison
- String Concatenation
- Element Access
- Input and Output
- Search
- Check for a substring
- Modifying Operations
- Numeric Conversions
14.String Views
- Create and Initialise
- Non-modifying operations
- Modifying operations
15.Regular Expressions
- Character Types
- Regular Expression Objects
- The Search Result match_results
- Match
- Search
- Replace
- Format
- Repeated Search
16.Input and Output Streams
- Hierarchy
- Input and Output Functions
- Streams
- User-defined Data Types
17.Formatting Library
- Formatting Functions
- Syntax
- Format specification
- User-defined formatter
18.Filesystem
- Classes
- Non-member functions
- File types
19.Multithreading
- Memory Model
- Atomic Data Types
- Threads
- Stop Token
- Shared Variables
- Thread Local Data
- Condition Variables
- Semaphores
- Coordination Types
- Tasks
20.Coroutines
- Awaitables
- An Infinite Data Stream with
co_yield