Let's say you have the following class:
struct Foo {
static void print(std::string x) { std::cout << x << std::endl; }
};
What is the difference between calling print like
Foo foo; //Or a pointer...
foo.print("Hello world");
and
Foo::print("Hello world");
?