An open API service indexing awesome lists of open source software.

https://github.com/kamyu104/designpattern

:page_with_curl: Design Pattern in C++ 11
https://github.com/kamyu104/designpattern

Last synced: 3 months ago
JSON representation

:page_with_curl: Design Pattern in C++ 11

Awesome Lists containing this project

README

          

# Design Patterns ![Language](https://img.shields.io/badge/language-C++%2011-orange.svg) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)

Classic C++ / C++ 11 / Boost implementations of design patterns / idioms in GoF, POSA, and etc.

* [GoF](https://github.com/kamyu104/DesignPattern#gof)
* [POSA](https://github.com/kamyu104/DesignPattern#posa)
* [Multithread](https://github.com/kamyu104/DesignPattern#multithread)

## GoF
| # | Title | Solution | Tag | Note |
|---| ----- | -------- | --- | ---- |
|1|Singleton| [C++11](./C++11/singleton.cpp) | | Thread-Safe |

## POSA
| # | Title | Solution | Tag | Note |
|---| ----- | -------- | --- | ---- |

## Multithread
| # | Title | Solution | Tag | Note |
|---| ----- | -------- | --- | ---- |
|1|Producer Consumer| [C++11](./C++11/producer-consumer.cpp) | | Mutex, Monitor |
|2|Count Down Latch| [C++11](./C++11/count-down-latch.cpp) | | Mutex, Monitor|
|3|Copy on Write| [C++11](./C++11/copy-on-write.cpp) | | Smart Pointer |