Skip to content

PacktPublishing/C-20-2a-New-Features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

C++ 20 (2a) New Features

This is the code repository for C++ 20 (2a) New Features [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

C++ is popular for its incredible performance and suitability for operating systems, games, embedded software, and more. This course gets you up-to-date with the very latest components in C++20/C++2a so you can harness its new enhancements and get ahead of the game by leveraging its features! We cover what C++20/C++2a is and the current standardization status. We also discover some new syntactic sugars that enable you to write shorter but more powerful code. You'll learn about the new and improved ranges and iterators, explore key examples of filter stacking, and learn how ranges simplify iterator-heavy code. Crucially, you'll master how to migrate to C++20/C++2a in the easiest possible way, and why you should! C++20/C++2a brings new features to the synchronization library, including atomic smart pointers, latchers, and barriers. We review its all-new coroutines (a major concept found in other leading programming languages that simplifies writing code for parallel execution). By the end of the course, you'll use up-to-date insights into the full features of C++20/C++2a to facilitate efficient and fast coding within your own projects.

What You Will Learn

  • Migrate a project on older versions of C++ to C++20/C++2a
  • Code more efficiently with string and numbers
  • New and better ways to work with string formatting using the new std::format in C++20/C++2a
  • Implement the new comparison operator on the core language and use a custom example in user-defined types
  • Discover newly improved synchronization and thread coordination, including support for efficient atomic waiting, lock-free integral types, and more
  • Use concepts to perform compile-time validation of template arguments and perform function dispatches based on type properties

Instructions and Navigation

Assumed Knowledge

This course is ideal for developers who are already proficient in C++ (previous versions) and want to get up-to-date with the latest C++20/C++2a version and its features and benefits.

Technical Requirements

SETUP AND INSTALLATION This will vary on a product-by-product basis, but should be a standard PI element for ILT products. This example is relatively basic. Minimum Hardware Requirements For successful completion of this course, students will require the computer systems with at least the following: • OS: MacOS 10.12.6 • Processor: Intel core i5 - 1.5Hz • Memory: 4GB • Storage: 128GB Recommended Hardware Requirements For an optimal experience with hands-on labs and other practical activities, we recommend the following configuration: • OS: MacOS 10.13.3 • Processor: Intel core i7 - 2.5GHz • Memory: 16GB • Storage: 256GB Software Requirements • Operating system: Windows, MacOS, Linux • Browser: Google Chrome, IE • Atom IDE, Latest Version • C++ 20 Provide links/instructions so that the customer can easily find out where to download the required software.

Related Products

About

C++ 20 (2a) New Features published by [Packt]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages