av Marius Bancila
765,-
Meta Description: With a wealth of practical recipes, this third edition isn't just a guide to C++23; it's a complete resource covering key features and techniques from C++11 through to C++23. It's designed to keep you ahead of the curve in C++.Key Features:- Updated and packed with new recipes, including sync streams, std:expected and std:mdspan, and C++20/23 range adaptors- Covers all significant features from all modern versions of the standard, providing comprehensive insights into modern C++- Learn through a series of hands-on, self-contained recipes- Purchase of the print or Kindle book includes a free eBook in PDF formatBook Description:The updated third edition of Modern C++ Programming Cookbook addresses the latest features of C++23, such as the stacktrace library, std::expected and std::mdspan classes, the header, formatting library improvements, and updates to the ranges library. It also gets into more C++20 topics not previously covered, such as sync streams and source_location.The book is organized into practical recipes covering a wide range of real-world problems, helping you find the solutions you need quickly. You'll find coverage of all the core concepts of modern C++ programming and features and techniques from C++11 through to C++23, meaning you'll stay ahead of the curve by learning to incorporate the newest language and library improvements.Beyond the core concepts and new features, you'll explore recipes related to performance and best practices, how to implement useful patterns and idioms, like pimpl, named parameter, attorney-client, and the factory pattern, and how to complete unit testing with the widely used C++ libraries: Boost.Test, Google Test, and Catch2.With the comprehensive coverage this C++ programming guide offers, by the end of the book you'll have everything you need to build performant, scalable, and efficient applications in C++.What You Will Learn:- Explore the new C++23 language and library features- Go deep into the most useful C++20 features- Learn to handle threading and concurrency for better performance- Solve complex string manipulation tasks efficiently with regex- Leverage the standard library for faster development- Master the filesystem library to work with files and directories- Work with different types of strings and understand compilation- See how you can use CRTP, mixins and other patterns in C++Who this book is for:This book is designed for entry- and intermediate-level programmers who already have a foundational understanding of the C++ programming language, but who are looking to master the language, implement the newest features, and become proficient modern C++ developers. Experienced C++ programmers can leverage the recipes in this book to quickly get up to speed on all the most important language and library features of C++11/14/17/20 and 23.Table of Contents- Learning Modern Core Language Features- Working with Numbers and Strings- Exploring Functions- Preprocessing and Compilation- Standard Library Containers, Algorithms, and Iterators- General-Purpose Utilities- Working with Files and Streams- Leveraging Threading and Concurrency- Robustness and Performance- Implementing Patterns and Idioms- Exploring Testing Frameworks- C++23 Features