-
Singletone pattern example =========== This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects.
-
Factory pattern example =========== A utility class that creates an instance of a class from a family of derived classes
maksrom/singleton-c
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|