What's New in C++20
This course will teach you what has been added to C++20, and what these new features offer you.
What you'll learn
In this course, What's New in C++20, you’ll learn to decide about using new C++20 features. First, you’ll explore backward compatibility and how to migrate to the latest compiler settings. Next, you’ll discover major additions to the language and library, such as ranges, coroutines, and modules. Finally, you’ll learn how to take advantage of many smaller additions to the library and language. When you’re finished with this course, you’ll have the skills and knowledge of C++20 needed to decide whether to use these new features in your C++ development.
Table of contents
- Introduction 1m
- constexpr 2m
- Demo: constexpr 1m
- constexpr Everything? 2m
- consteval And constinit 2m
- The <chrono> Header 1m
- Demo: <chrono> 3m
- Learning <chrono> 3m
- Building Output and Strings 1m
- std::format 1m
- Demo: format 4m
- Three Way Comparison 4m
- Demo: Comparison 2m
- Default Comparison Operator 0m
- Summary 1m
- Course Summary 1m