design-pattern This repo is used to provide the C++ implemention of common design patterns. Creational Design Patterns Singleton Factory Builder Prototype Structural Design Patterns Decorator Adapter Bridge Composite Facade Proxy Flyweight Behavioral Design Patterns Iterator Observer Chain of responsiblity Strategy State Command Mediator Memento Template Visitor Build and run Build: Take the Adaptor pattern as an example: cd adaptor mkdir build && cd build cmake .. && make Run: ./client.out