gof_design_patterns icon indicating copy to clipboard operation
gof_design_patterns copied to clipboard

GoF Design Patterns implemented in modern C++.

Introduction

Samples of the 23 GoF design patterns implemented in modern C++.

Creational Patterns

  • Abstract Factory
  • Builder
  • Factory Method
  • Prototype
  • Singleton

Structural Patterns

  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy

Behavioral Patterns

  • Chain Of Responsibility
  • Command
  • Interpreter
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template Method
  • Visitor

Useful links

References