Presentation Conventions
What anyone thinks of me is none of my business. | ||
--Peter Brock |
Me fail English? That’s unpossible. | ||
--Ralph Wiggum, The Simpsons |
Most presentation conventions in the book are self-evident, so I’ll just touch on those that warrant a little explanation.
Fonts
The fonts and capitalization scheme discriminates between the following types of things in the body text: API (e.g., the glob API), code
, Concept (e.g., the shim concept), <headername.hpp>
, Library (e.g., the ACE library), literal
or path
(e.g., "my string"
, NULL
, 123
, /usr/include
), Pattern (e.g., the Façade pattern), Principle (e.g., the Principle of Least Surprise), shim (e.g., the get_ptr shim). Code listings use the following conventions:
// In namespace namespace_name ...
Get Extended STL, Volume 1: Collections and Iterators 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.