C++ 17: Beyond the Basics
You know C++ syntax, but do you know what makes code "modern"? How much do you use the Standard Library in your applications? Have you been keeping up with what was added in C++ 11, 14, and 17? Bring your C++ skills to the next level.
What you'll learn
Do you want to take your C++ skills from basic syntax to the next level, including libraries and modern C++? In this course, C++ 17: Beyond the Basics, you'll learn what modern C++ is, and why it's to your advantage to write that way. First, you'll learn about the Standard Library collection classes, and some of the functions in the algorithm header that will save you time and effort while making your code easier for others to understand. Next, you'll discover lambdas and how to use them, and how to take advantage of move semantics for a tremendous performance enhancement. Finally, you'll see what exceptions are, when to use them and when not to use them, and how they work. By the end of this course, you'll have built a fundamental knowledge of C++ syntax, fill in the gaps most C++ developers have, and become one of those developers who uses the whole language to get the most performance while still writing code that's easy to maintain and read.
Table of contents
- Introduction 0m
- Discoverability 1m
- Collections Algorithms Iterators 2m
- Say What You Mean 1m
- Demo: Where Are They? 3m
- Less Fuss Over Style 1m
- Demo: Expressivity 4m
- Demo: Errors 6m
- Errors 2m
- Standard Often Means Interchangeable 1m
- Demo: Swap Container 2m
- Demo: Things to Learn More About 3m
- Beautiful C++: STL Algorithms 1m
- Summary 1m
- Introduction 1m
- Not Every Action Succeeds 1m
- Expected Errors 3m
- Exceptions 4m
- Demo: Exceptions 5m
- What to Throw and Catch 1m
- std::exception 2m
- Demo: Throwing an Exception 4m
- Unwinding the Stack 2m
- Demo: Unwinding the Stack 4m
- Raii Revisited 2m
- Exceptions Have a Cost 3m
- noexcept 3m
- Enabling Moves with noexcept 2m
- Summary 1m