using a static function without an instance of the class, in c++
c++, static
Solution
Sure:
class A {
public:
static void f();
};
...
A::f(); // call function
Problem
i have a class with static functions. i need to use the functions without creating an instance of the class. is it possible?