Skip to main content
Apress

Design Patterns in Modern C++20

Reusable Approaches for Object-Oriented Software Design

  • Book
  • © 2022
  • Latest edition

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

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 16.99 USD 34.99
Discount applied Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 16.99 USD 44.99
Discount applied Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (24 chapters)

  1. Creational

  2. Structural

  3. 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

  • St. Petersburg, Russia

    Dmitri Nesteruk

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.

Bibliographic Information

Publish with us