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.
Table of Contents
Part I: Creational
Chapter 2: Builder
Chapter 3: Factories
Chapter 4: Prototype
Chapter 5: Singleton
Part II: Structural
Chapter 6: Adapter
Chapter 7: Bridge
Chapter 8: Composite
Chapter 9: Decorator
Chapter 10: Facade
Chapter 11: Flyweight
Chapter 12: Proxy
Part Ill: Behavioral
Chapter 13: Chain of Responsibility
Chapter 14: Command
Chapter 15: Interpreter
Chapter 16: Iterator
Chapter 17: Mediator
Chapter 18: Memento
Chapter 19: Null Object
Chapter 20: Observer
Chapter 21: State
Chapter 22: Strategy
Chapter 23: Template Method
Chapter 24: Visitor
About the Author
Dmitri Nesteruk is a quantitative analyst, developer, course and book author, and an occasional conference speaker. His interests lie in software development and integration practices in the areas of computation, quantitative finance and algorithmic trading. His technological interests include C# and C++ programming as well high-performance computing using technologies such as CUDA and FPGAs. He has been a C# MVP since 2009.
ISBN
9781484272947
برند
Apress
تعداد صفحات
391
سال
2022

ایزی اگزم
نام مولف:
John Priece
نام ناشر:
Apress
متأسفانه این محصول در حال حاضر موجود نمی باشد