Book

Hands-On Design Patterns with C++

Design patterns are a library of reusable components designed for software architecture, not for concrete implementation. In this book, we’ll teach you how to recognize and apply various C++ design patterns and idioms. By the end of the book, you’ll have an understanding of how to use design patterns to create robust and reusable apps

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

17h4m

Language

English

About Book

Who Is This Book For?

This book is for experienced C++ developers and programmers who wish to learn about software design patterns and principles and apply them to create robust, reusable, and easily maintainable apps.

Book content

chapters 17h4m total length

An introduction to Inheritance and polymorphism

Class and function templates

Memory ownership

Swap - from simple to subtle

A Comprehensive Look at Resource Acquisition is Initialization (RAII)

Type Erasure

SFINAE and Overload Resolution Management

The Curiously Recurring Template Pattern

Named Arguments and Method Chaining

Local Buffer Optimization

Scopeguard

Friend Factory

Virtual Constructors and Factories

The Template Method Pattern and the Non-Virtual Idiom

Singleton: a Classic OOP Pattern

Policy-based design

Adaptors and Decorators

Visitor and multiple dispatch

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required