ModernDesignPatterns
Design Patterns in Modern C++
Install / Use
/learn @lizzard-winner/ModernDesignPatternsREADME
Modern Design Patterns
Common Design Patterns In Modern C++
This repository contains samples of common design patterns written in modern C++.
This is intended for learning purposes of new C++ features and a starting point for implementing a pattern in your system.
Every subfolder contains another README.md with detailed explanation.
Patterns
The patterns included in this repo are:
- [x] Strategy & Prototype Pattern
- [x] Observer Pattern
- [x] Factory Pattern
- [x] Abstract Factory Pattern
- [x] Singleton Pattern
Building
To build the project (Unix):
$ mkdir build && cd build/
$ cmake ../
$ make
cmake and a GCC version that supports C++17 are required for this.
Contributing
If there are any better alternatives or bugs I would like to hear it.
Related Skills
diffs
339.3kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
openpencil
1.8kThe world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.
ui-ux-pro-max-skill
53.4kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
Figma-Context-MCP
14.0kMCP server to provide Figma layout information to AI coding agents like Cursor
