This repository contains examples of design patterns implemented in C++.
Here's a list of the design patterns available in this repository:
- Adapter
- Bridge
- Builder
- Command
- Composite
- Decorator
- Facade
- Factory
- Flyweight
- Iterator
- Mediator
- Memento
- Observer
- Prototype
- Proxy
- Singleton
- State
- Strategy
- Template Method
- Visitor
To use these examples, you can clone this repository to your local machine:
git clone https://github.com/kybuivan/design-patterns-in-modern-cpp.git
- C++ Software Design : Design Principles and Patterns for High-Quality Software
- Design Patterns in Modern C++: Reusable Approaches for Object-Oriented Software Design
- Design Patterns: Elements of Reusable Object-Oriented Software
- Head First Design Patterns: A Brain-Friendly Guide
If you'd like to contribute to this repository, feel free to create a pull request.
This repository is licensed under the Apache-2.0 license. See the LICENSE file for more details.