Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 921 Bytes

README.md

File metadata and controls

43 lines (38 loc) · 921 Bytes

design-pattern

This repo is used to provide the C++ implemention of common design patterns.

Creational Design Patterns

Structural Design Patterns

Bridge

Composite

Facade

Proxy

Flyweight

Behavioral Design Patterns

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