Chapter 1. Safe Features

Modern C++ has a lot to offer. Many of the modern language features provide affirmative value. They enable increased productivity and reliability, are easy to understand and use, and are hard to accidentally misuse in consequential ways. This chapter introduces those C++11 and C++14 features that have few, minor, and readily recognizable pitfalls, making misuse easy to avoid. Moreover, these features bring little systemic risk when introduced widely into a predominantly C++03 codebase, allowing organized training to be optional rather than mandatory. An organization’s leadership can feel reasonably comfortable guiding all its engineers toward using features presented in this chapter.

Safe features are characterized primarily ...

Get Embracing Modern C++ Safely 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.