Modern C++ Features & Concurrency
About this Course
This course delves into the latest features of Modern C++, with a primary focus on concurrency, C++17 language updates, and powerful tools that enhance code performance and reliability. You will explore the capabilities of C++17, including the introduction of advanced concurrency techniques, templates, and functional programming tools. This comprehensive guide equips you with the knowledge to build efficient, concurrent programs while utilizing the most current features of C++ for maximum performance. The course starts with concurrency basics, introducing the importance of multi-threading and how to implement it using std::thread. You will dive deeper into thread synchronization with std::mutex and learn how to pass arguments to threads. You\'ll then explore task-based concurrency with std::async, std::future, and std::promise, and learn how to propagate exceptions between threads seamlessly. This will provide you with the tools needed to write scalable, thread-safe applications. As you move into the C++17 core language features, you\'ll examine the new features, such as inline variables, noexcept, and structured bindings. C++17 also brought mandatory copy elision, and this course will clarify its benefits. You\'ll gain an understanding of how to leverage these new features to make your code more efficient and readable. The final sections cover advanced template features like Compiled Time Argument Deduction (CTAD), if constexpr, and folding expressions, as well as C++17 standard library additions like std::optional, std::variant, and parallel algorithms. These components empower you to write more flexible, error-free, and high-performance C++ code.Created by: Packt

Related Online Courses
Gemini for Google Workspace provides customers with generative AI features in Google Workspace. In this learning path, you learn about the key features of Gemini and how they can be used to improve... more
Create insights that drive value, by focusing on commonly asked business questions. Use Table Calculations, Level of Detail Calculations and Data Modeling to solve complex problems. Finally, apply... more
Imagine a world where your photos don\'t just capture memories, but also become intelligent assistants, helping you navigate and manage daily tasks. Welcome to \"GPT Vision: Seeing the World... more
You will learn about the career paths that are available in journalism, and what opportunities the skill sets of a journalist can offer in other fields. You will explore areas such as being an... more
This is a self-paced lab that takes place in the Google Cloud console. Learn how to restrict access selected authenticated users with Identity-Aware Proxy without special programming. Discover how... more