Efficient Learning of Common C++ Design Patterns
Content from: Programmer Lao Liao https://www.bilibili.com/video/BV1s5WVz9EwN/ Chapter 1: Singleton Pattern (C++) The description of the Singleton pattern is: Ensure that a class has only one instance and provide a global access point to that instance. The most important characteristic of the Singleton pattern is: A class can have at most one object. Intent: Ensure that … Read more