Embracing Modern C++ Safely
by John Lakos, Vittorio Romeo, Rostislav Khlebnikov, Alisdair Meredith
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access