7: C++ revisions
Abstract
The C++ standard went through its first major update with the introduction of C++11 in 2011. Since that time, the ISO standard committee has released several further updates on a regular cadence, including C++14, C++17, C++20, and C++23. This chapter takes each of these revisions in term and describes all the important application programming interface (API) design features introduced by each update. For example, smart points, enum classes, and the Rule of Five were introduced in C++11. The auto return type and deprecated attribute were added in C++14. Inline variables and the optional, any, and variant types were added to C++17. Modules and the spaceship operator appeared in C++20 and expected values were introduced ...
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