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
e.g. This is primarily aimed at first- and second-year undergraduates interested in engineering or science, along wiUnlock Your App Development Potential: Creating a Feature-Rich Shopping List App... more
Aging has been coined as one of the major societal challenges. The fact that we simply live longer, is in itself not a problem but rather a triumph. However, this unprecedented demographic change... more
This is a self-paced lab that takes place in the Google Cloud console. This hands-on lab will show you how to store and query data in Google Cloud Datastore using the Google Cloud Platform.Created... more
In this 2-hours long project-based course, you will build an Angular application that uses a real API to fetch and display cocktail recipes. You will master the basics of Angular routing,... more
In an increasingly data-centric world, the ability to derive meaningful insights from raw data is essential. The IBM Data Analyst Capstone Project gives you the opportunity to apply the skills and... more