Master Modern C++ with comprehensive solutions for C++23 and all previous standards
816 stránok
29 hodin čítania
Offering a comprehensive collection of practical recipes, this third edition serves as an extensive resource that spans key features and techniques from C++11 to C++23. It is tailored to help readers stay updated and proficient in modern C++ programming, ensuring they are well-equipped to navigate the evolving landscape of the language.
Learn everything about C++ templates and unlock the power of template metaprogramming
480 stránok
17 hodin čítania
Modern C++ templates are explored as a powerful tool for developing maintainable, robust, and efficient software. The book provides insights into advanced template techniques, emphasizing best practices and design principles. Readers will learn how to leverage templates to enhance code quality and performance, making it easier to manage complex systems. With practical examples and clear explanations, this resource is ideal for programmers looking to deepen their understanding of template programming in C++.
This pragmatic recipe book offers a comprehensive understanding of C++ programming's complexities and core fundamentals. It explores the latest features of C++20, including modules, coroutines, concepts, and ranges. The text sheds light on essential C++ concepts like functions, algorithms, threading, and concurrency through practical, self-contained recipes. Leveraging C++ features such as smart pointers, move semantics, and constexpr enhances robustness and performance.
The updated second edition addresses C++20's advancements and organizes content into practical recipes that tackle a wide range of modern development challenges. It covers core concepts like functions, classes, iterators, algorithms, streams, and file systems, as well as threading and concurrency. The book emphasizes performance, teaching developers to write fast, lean code with best practices. It also explores useful design patterns and idioms, including pimpl, named parameters, and the factory pattern, while dedicating a chapter to unit testing with popular libraries like Boost.Test, Google Test, and Catch2.
By the end, readers will effectively leverage C++11/14/17/20 features and techniques to enhance application performance, scalability, and efficiency. The book equips developers with the skills to utilize the standard library, work with containers and algorithms, and address text searching and replacement using regular expressions.