Course Code: wscodebesp
Duration: 7 hours
Prerequisites:

Experience with programming in C++

Overview:

C++ 17 (C++17) is the latest version of the C++ programming language. It adds several new "big" language features with the aim of helping programmers write simpler, cleaner and more expressive code.

In this instructor-led, live training, participants will learn about C++ 17's most important new features as they step through the creation of a sample C++ application. Case studies and interactive discussions will be combined with hands-on practice to demonstrate how to get the maximum benefit out of C++ 17. By the end of this course, participants will have the knowledge and practice to make the best use of C++ 17 for writing clearer, simpler, higher-quality C++ code.

Course Outline:

Introduction

What's new in C++17?

  • init-statement for if/switch
  • Inline variables
  • constexpr if
  • Structured bindings/Decomposition declarations
  • Fold expressions
  • Template argument deduction for class templates - deduction guides
  • Declaring non-type template parameters with auto

New library elements:

  • std::any
  • std::optional
  • std::variant
  • std::shared_mutex
  • The namespace filesystem

Core Language Updates in C++17

Library Updates in C++17

C++17's Top Features for Writing Simpler, Cleaner Code

Summary and Conclusion

Note: All topics are discussed in the context of whether and how they can be used in embedded systems