C++ 20: The Complete Guide
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader: chloesmith77
Uploaded At: 2023-10-15 06:23:27
Published 2021-12-31
Description
C++20 is the next evolution in modern C++ programming, which is already (partially) supported by the latest version of gcc, clang, and Visual C++. The move to C++20 is at least as big a step as the move to C++11. C++20 contains a significant number of new language features and libraries that again will change the way we program in C++. This applies to both application programmers and programmers who provide
foundation libraries.
All the new language and library features of C++20 (for those who know the previous versions of C++).C++20 is the next evolution in modern C++ programming, now supported by major C++ compilers. However, C++20 is huge. It will change the way we program more dramatically than C++11 did. Combining new features gives you even more power. However, not everything is self-explanatory and there are hidden traps. Therefore, it is key to understand all the concepts of C++20 and learn how to benefit best.
This book covers the motivation for and context of all new C++20 features (covering both language and library), providing many examples and unique background information for application programmers as well as for library developers. The focus is on how these features impact day-to-day programming, what effect combining features can have, and how you can benefit from them in practice.
This book is an experiment in two ways:
• I am writing an in-depth book covering complex new features provided by different authors and C++ working groups. However, I can ask questions and I do.
• I am publishing the book myself on Leanpub and for printing on demand. That is, this book is written step by step and I will publish new versions as soon there is a significant improvement that makes the
publication of a new version worthwhile.
The good thing is:
• You get the view of the language features from an experienced application programmer—somebody who feels the pain a feature might cause and asks the relevant questions to be able to motivate and explain the
design and its consequences for programming in practice.
• You can benefit from my experience with C++20 while I am still learning and writing.
• This book and all readers can benefit from your early feedback.
This means that you are also part of the experiment. So help me out: give feedback about flaws, errors, features that are not explained well, or gaps, so that we all can benefit from these improvements.