30. Standard-Library Overview

Many secrets of art and nature are thought by the unlearned to be magical.

– Roger Bacon

Introduction

Standard-Library Facilities; Design Constraints; Description Style

Headers

Language Support

initializer_list Support; Range-for Support

Error Handling

Exceptions; Assertions; system_error

Advice

30.1. Introduction

The standard library is the set of components specified by the ISO C++ standard and shipped with identical behavior (modulo performance) by every C++ implementation. For portability and long-term maintainability, I strongly recommend using the standard library whenever feasible. Maybe you can design and implement a better alternative for your application, but:

• How easy will it be for some ...

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.