-
Course
- Core Tech
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 | 23s
- Discoverability | 46s
- Collections Algorithms Iterators | 1m 54s
- Say What You Mean | 1m 9s
- Demo: Where Are They? | 2m 47s
- Less Fuss Over Style | 1m 23s
- Demo: Expressivity | 3m 31s
- Demo: Errors | 5m 42s
- Errors | 2m 13s
- Standard Often Means Interchangeable | 51s
- Demo: Swap Container | 1m 46s
- Demo: Things to Learn More About | 3m 29s
- Beautiful C++: STL Algorithms | 1m 21s
- Summary | 1m 25s
- Introduction | 35s
- Not Every Action Succeeds | 50s
- Expected Errors | 2m 53s
- Exceptions | 4m 24s
- Demo: Exceptions | 4m 43s
- What to Throw and Catch | 1m 21s
- std::exception | 1m 33s
- Demo: Throwing an Exception | 3m 38s
- Unwinding the Stack | 1m 43s
- Demo: Unwinding the Stack | 3m 34s
- Raii Revisited | 1m 53s
- Exceptions Have a Cost | 3m 8s
- noexcept | 2m 44s
- Enabling Moves with noexcept | 1m 31s
- Summary | 1m 23s
About the author
Kate Gregory is in her fourth decade of being paid to program. Her firm, Gregory Consulting Limited, is based in rural Ontario and helps clients adopt new technologies and adjust to the changing business environment. Current work makes heavy use of .NET and Visual C++ for both web and client development, especially for Windows 7 and 8. Managing, mentoring, technical writing, and technical speaking occupy much of her time, but she still writes code every week.
More Courses by Kate