Advertisement

Design Patterns in Modern C++

Reusable Approaches for Object-Oriented Software Design

  • Dmitri Nesteruk

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Dmitri Nesteruk
    Pages 1-28
  3. Creational Patterns

    1. Front Matter
      Pages 29-32
    2. Dmitri Nesteruk
      Pages 33-47
    3. Dmitri Nesteruk
      Pages 49-61
    4. Dmitri Nesteruk
      Pages 63-74
    5. Dmitri Nesteruk
      Pages 75-86
  4. Structural Patterns

    1. Front Matter
      Pages 87-88
    2. Dmitri Nesteruk
      Pages 89-97
    3. Dmitri Nesteruk
      Pages 99-105
    4. Dmitri Nesteruk
      Pages 107-118
    5. Dmitri Nesteruk
      Pages 119-132
    6. Dmitri Nesteruk
      Pages 133-138
    7. Dmitri Nesteruk
      Pages 139-147
    8. Dmitri Nesteruk
      Pages 149-158
  5. Behavioral Patterns

    1. Front Matter
      Pages 159-159
    2. Dmitri Nesteruk
      Pages 161-171
    3. Dmitri Nesteruk
      Pages 173-187
    4. Dmitri Nesteruk
      Pages 189-203
    5. Dmitri Nesteruk
      Pages 205-215
    6. Dmitri Nesteruk
      Pages 217-228
    7. Dmitri Nesteruk
      Pages 229-235
    8. Dmitri Nesteruk
      Pages 237-242
    9. Dmitri Nesteruk
      Pages 243-257
    10. Dmitri Nesteruk
      Pages 259-272
    11. Dmitri Nesteruk
      Pages 273-279
    12. Dmitri Nesteruk
      Pages 281-284
    13. Dmitri Nesteruk
      Pages 285-301
  6. Appendix A: Functional Design Patterns

    1. Front Matter
      Pages 303-303
    2. Dmitri Nesteruk
      Pages 305-308
  7. Back Matter
    Pages 309-314

About this book

Introduction

Apply modern C++17 to the implementations of classic design patterns. As well as covering traditional design patterns, this book fleshes out new patterns and approaches that will be useful to C++ developers. The author 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++ also provides a technology demo for modern C++, showcasing how some of its latest features (e.g., coroutines) 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.

You will:
  • Apply design patterns to modern C++ programming
  • Use creational patterns of 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 Monad and more


Keywords

C++ C plus plus Cpp design patterns modern programming software engineering UML source code

Authors and affiliations

  • Dmitri Nesteruk
    • 1
  1. 1.St. PetersburgRussia

Bibliographic information

Industry Sectors
Automotive
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Consumer Packaged Goods
Energy, Utilities & Environment
Aerospace
Engineering