Part 2: Common C++ Idioms
This part describes some of the more common C++ idioms: established, universally recognized ways to express a specific idea or implement a frequently needed task. The boundary between “patterns” and “idioms” is fuzzy at best. In this book, we consider more complete design solutions to be patterns, while simpler techniques are idioms. In other words, choosing a pattern may influence the design of your entire application or its major component, while using an idiom is more of an implementation decision that has been learned from someone else’s mistakes.
This part has the following chapters:
- Chapter 4, Swap - From Simple to Subtle
- Chapter 5, A Comprehensive Look at RAII
- Chapter 6, Understanding Type Erasure
- Chapter 7, SFINAE, Concepts, and Overload Resolution Management