The Factory Method Pattern using C++ (Burger King vs. McDonalds)

What is the Factory Method Pattern? If you are looking for a way to encapsulate the creation of objects, factory patterns are just what you need. There are multiple factory patterns but in this post I will just be focusing on the Factory Method Pattern. It is a factory pattern so we should expect the … [Read more…]