Overview
- Apply design patterns to modern C++20 programming as well as classic design patterns
- Learn behavioral patterns such as chain of responsibility, command, and iterator
- Use structural patterns such as adapter, bridge, and decorator
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (24 chapters)
-
Behavioral
Keywords
About this book
Apply the latest editions of the C++ standard to the implementation of design patterns. As well as covering traditional design patterns, this book fleshes out new design patterns and approaches that will be useful to modern C++ developers. Author Dmitri Nesteruk presents concepts as a fun investigation of how problems can be solved in different ways, along the way using varying degrees of technical sophistication and explaining different sorts of trade-offs.
Design Patterns in Modern C++20, Second Edition also provides a technology demo for modern C++, showcasing how some of its latest features (e.g., coroutines, modules and more) make difficult problems a lot easier to solve. The examples in this book are all suitable for putting into production, with only a few simplifications made in order to aid readability.
What You Will Learn
- Use creational patterns such as builder, factories, prototype and singleton
- Implement structural patterns such as adapter, bridge, decorator, facade and more
- Work with the behavioral patterns such as chain of responsibility, command, iterator, mediator and more
- Apply functional design patterns such as the Maybe Monad
Who This Book Is For
This book is for both beginner and experienced C++ developers.
Authors and Affiliations
About the author
Bibliographic Information
Book Title: Design Patterns in Modern C++20
Book Subtitle: Reusable Approaches for Object-Oriented Software Design
Authors: Dmitri Nesteruk
DOI: https://doi.org/10.1007/978-1-4842-7295-4
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Dmitri Nesteruk 2022
Softcover ISBN: 978-1-4842-7294-7Published: 06 November 2021
eBook ISBN: 978-1-4842-7295-4Published: 05 November 2021
Edition Number: 2
Number of Pages: XIV, 386
Number of Illustrations: 11 b/w illustrations
Topics: Programming Languages, Compilers, Interpreters, Software Engineering, Programming Techniques