Home
Projects
Resources
Alternatives
Blog
Sign In
Junzhuodu Design Patterns
Save
C++ Implementation for 23 Design Patterns
Overview
Reviews
Resources
Project README
C++ Design Patterns
C++ Implementation for 23 Design Patterns
Creational Patterns
Abstract Factory
, families of product objects
Builder
, how a composite object gets created
Factory Method
, subclass of object that is instantiated
Prototype
, class of object that is instantiated
Singleton
, the sole instance of a class
Structural Patterns
Adapter
, interface to an object
Bridge
, implementation of an object
Composite
, structure and composition of an object
Decorator
, responsibilities of an object without subclassing
Façade
, interface to a subsystem
Flyweight
, storage costs of objects
Proxy
, how an object is accessed (its location)
Behavioral Patterns
Chain of Responsibility
, object that can fulfill a request
Command
, when and how a request is fulfilled
Interpreter
, grammar and interpretation of a language
Iterator
, how an aggregate's elements are accessed
Mediator
, how and which objects interact with each other
Memento
, what private information is stored outside an object, and when
Observer
, how the dependent objects stay up to date
State
, states of an object
Strategy
, an algorithm
Template Method
, steps of an algorithm
Visitor
, operations that can be applied to objects without changing their classes
References
Design patterns in this repository are based on
Design Patterns by The "Gang of Four"
Design Patterns in C++
Wikipedia
Design Patterns
Open Source Agenda is not affiliated with "Junzhuodu Design Patterns" Project. README Source:
Junzhuodu/design-patterns
Stars
85
Open Issues
1
Last Commit
1 year ago
Repository
Junzhuodu/design-patterns
License
MIT
Tags
Abstract Factory Pattern
Adapter Pattern
Behavioral Patterns
Bridge Pattern
Builder Pattern
Chain Of Responsibility Pattern
Command Pattern
Composite Pattern
Cplusplus
Creational Patterns
Decorator Pattern
Design Patterns
Facade Pattern
Factory Method Pattern
Interpreter Pattern
Object Oriented
Prototype Pattern
Proxy Pattern
Singleton Pattern
Structural Patterns
Open Source Agenda Badge
Submit Review
Review Your Favorite Project
Submit Resource
Articles, Courses, Videos
Submit Article
Submit a post to our blog
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
From the blog
Dec 11, 2022
How to Choose Which Programming Language to Learn First?
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github