5. A Tour of C++: Concurrency and Utilities

When you wish to instruct, be brief.

– Cicero

Introduction

Resource Management

unique_ptr and shared_ptr

Concurrency

Tasks and threads; Passing Arguments; Returning Results; Sharing Data; Communicating Tasks

Small Utility Components

Time; Type Functions; pair and tuple

Regular Expressions

Math

Mathematical Functions and Algorithms; Complex Numbers; Random Numbers; Vector Arithmetic; Numeric Limits

Advice

5.1. Introduction

From an end-user’s perspective, the ideal standard library would provide components directly supporting essentially every need. For a given application domain, a huge commercial library can come close to that ideal. However, that is not what the C++ standard library ...

Get The C++ Programming Language, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.