static class
What are the static classes in c++?
A static class is one in which no instances can be instantiated for it. There's basically only one version of it. A static class could be useful when it represents a single item, such as the system clock. It may also be useful as a place to store functions, such as math functions.
Once people started using Design Patterns, many developers started using the singleton rather than make the entire class static.
Reply:The static class is the class that is called which is program in scope.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment