Chapter 16. Library Organization and Containers

 

It was new. It was singular. It was simple. It must succeed!

 
 --H. Nelson

Design criteria for the standard librarylibrary organizationstandard headerslanguage supportcontainer designiteratorsbased containersSTL containersvectoriteratorselement accessconstructorsmodifierslist operationssize and capacityvector<bool>adviceexercises.

Standard Library Design

What ought to be in the standard C++ library? One ideal is for a programmer to be able to find every interesting, significant, and reasonably general class, function, template, etc., in a library. However, the question here is not, “What ought to be in some library?” but “What ought to be in the standard ...

Get The C++ Programming Language, Special 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.