/design-patterns-cpp

Examples of different design patterns written in c++

Primary LanguageC++MIT LicenseMIT

Design Patterns written in C++ (examples)

Goal of the project:

  • This project was created to show examples of different design patterns.

Code Style

  • C++ AStyle code style was used for this project.

Tech stack

  • CMake 3.14
  • C++ 20

Status of realized patterns:

  • Factory Method
  • Abstract Factory
  • Builder
  • Singleton (Thread-Safe Version)
  • Prototype
  • Adapter
  • Bridge
  • Composite
  • Decorator
  • Facade
  • Flyweight
  • Proxy
  • Chain Of Responsibility
  • Command
  • Iterator
  • Mediator
  • Memento
  • Observer
  • State
  • Strategy
  • Template method
  • Visitor