Skip to content

maksrom/singleton-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Patterns example

  1. 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.

  2. Factory pattern example =========== A utility class that creates an instance of a class from a family of derived classes

About

Example of singleton pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published