SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
The C++ Standard Library
Toggle community discussions
Close
Content
Bookmarks
Preface
The C++ Standard Library
What every professional C++ programmer should know about the C++ standard library.
German Edition
Introduction
About Me
Purpose of this Book
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
Utilities
Useful Functions
Save Comparison of Integers
Adaptors for Functions
Pairs
Tuples
Reference Wrappers
Smart Pointers
Type Traits
Time Library
std::any , std::optional , and std::variant
Interface of All Containers
Create and delete
Size
Access
Assign and Swap
Compare
Erasure
Sequence Containers
Arrays
Vectors
Deques
Lists
Forward Lists
Associative Containers
Overview
Ordered Associative Containers
Unordered Associative Containers
Adaptors for Containers
Stack
Queue
Priority Queue
Views on Contiguous Sequences
Iterators
Categories
Iterator Creation
Useful Functions
Adaptors
Callable Units
Functions
Function Objects
Lambda Functions
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
Ranges
Range
View
Direct on the Containers
Function Composition
Lazy Evaluation
Numeric
Random Numbers
Numeric Functions Inherited from C
Mathematical Constants
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 Prefix or a Suffix
Modifying Operations
Numeric Conversions
String Views
Create and Initialise
Non-modifying operations
Modifying operations
Regular Expressions
Character Types
Regular Expression Objects
The Search Result match_results
Match
Search
Replace
Format
Repeated Search
Input and Output Streams
Hierarchy
Input and Output Functions
Streams
User-defined Data Types
Formatting Library
Syntax
Format specification
User-defined formatter
Filesystem
Classes
Non-member functions
File types
Multithreading
Memory Model
Atomic Data Types
Threads
Stop Token
Shared Variables
Thread Local Data
Condition Variables
Semaphores
Coordination Types
Tasks
Coroutines
Awaitables
An Infinite Data Stream with
Index
Open text modal
Community Questions
Close