Factory vs Abstract Factory Design Pattern
Factory design pattern in C++ is a creational design pattern which deals with creating objects without showing the exact class of object that is being created. This design pattern basically allows a class to defer the instantiation to sub-classes. Below diagram shows a general class diagram of the Factory pattern.
(more…)