C++ 20 (2a) New Features: A fast-paced guide to get you up-and-running with C++ and its brand-new features

C++ 20 (2a) New Features: A fast-paced guide to get you up-and-running with C++ and its brand-new features

C++以其令人难以置信的性能和适用于操作系统、游戏、嵌入式软件等等而受到欢迎。本课程使您最新的C++最新组件20/C++ 2a,因此您可以利用其新的增强功能,并利用其特性来超越游戏。

我们涵盖了C++ 20/C++ 2A的内容和当前的标准化状态。我们还发现了一些新的语法糖,使您能够编写更简短但功能更强大的代码。您将了解新的和改进的范围和迭代器,探索过滤器堆叠的关键示例,并了解范围如何简化迭代器繁重的代码。最重要的是,你将掌握如何以最简单的方式迁移到C++ 20/C++ 2A,以及为什么要这样做!

C++ 20/C++ 2a给同步库带来新的特性,包括原子智能指针、锁存器和障碍。我们回顾了它的全新协同程序(这是在其他主流编程语言中发现的一个主要概念,它简化了为并行执行编写代码)。

在课程结束时,您将使用最新的见解,以充分利用C++ 20/C++ 2A的特性,以促进您自己项目中的高效和快速编码。

h264, yuv420p, 1920×1080 |ENGLISH, aac, 48000 Hz, 2 channels, s16 | 2h 19 mn | 400.51 MB
Instructor: Daniel Zawadzki

Get up to date with what’s new in C++


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

About

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.

The code bundle for this course is available at: https://github.com/PacktPublishing/C-20-2a-New-Features
Features

Write robust and efficient code using the latest version of C++
Port your C++ code to the latest version and save time and effort
Discover new coroutines that simplify writing code that executes in parallel

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/10143.html

赞 (0)
steven的头像steven
上一篇 2021年5月20日
下一篇 2021年5月20日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部