I have a class with static functions. I need to use functions without instantiating the class.
Is it possible?
Of course:
class A { public: static void f(); }; ... A::f(); // call function
No problem, that’s their point.
Or you can use the singleton design template: http://en.wikipedia.org/wiki/Singleton_pattern#C.2B.2B
Source: https://habr.com/ru/post/1727935/More articles:ComboBox goes out after updating data, even though the data has been successfully updated - c #Is it possible to read the internal processor count with C #? - performanceExamples of design patterns used in .Net open source projects - c #Get exception message when calling wcf service from jquery - jquerycreating server.log append = true - jbossHow do popular PHP frames handle form input errors? - phphow to get started when the main action is running in the background? - androidHow can I create a virtual disk? - c ++problem with System.Activator.CreateInstance - c #Unable to copy file "* \ bin \ debug \ *. Dll" to "bin \ *. Dll" in Visual Studio - visual-studioAll Articles